desktop-shell: Pass a flag bitmask instead of bool to activate()

Although it currently only has one available flag, but that'll change.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Jonas Ådahl
2014-10-18 18:20:16 +02:00
parent 1fa6dedb82
commit 4361b4ea3f
4 changed files with 34 additions and 16 deletions
+5
View File
@@ -1124,6 +1124,11 @@ enum weston_key_state_update {
STATE_UPDATE_NONE,
};
enum weston_activate_flag {
WESTON_ACTIVATE_FLAG_NONE = 0,
WESTON_ACTIVATE_FLAG_CONFIGURE = 1 << 0,
};
void
weston_version(int *major, int *minor, int *micro);