2
* Simple definitions common to client and server.
4
* Copyright © 2013 Canonical Ltd.
6
* This program is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU Lesser General Public License version 3 as
8
* published by the Free Software Foundation.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
* Author: Daniel van Vugt <daniel.van.vugt@canonical.com>
24
/* This is C code. Not C++. */
27
* Attributes of a surface that the client and server/shell may wish to
28
* get or set over the wire.
30
typedef enum MirSurfaceAttrib
32
mir_surface_attrib_type,
33
mir_surface_attrib_arraysize_
36
typedef enum MirSurfaceType
38
mir_surface_type_normal,
39
mir_surface_type_utility,
40
mir_surface_type_dialog,
41
mir_surface_type_overlay,
42
mir_surface_type_freestyle,
43
mir_surface_type_popover,
44
mir_surface_type_arraysize_
47
/* TODO: Surface states here */