diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2015-03-06 11:44:42 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2015-04-23 16:02:37 +0800 |
commit | eb6c70137b6d7c7b347148c89b33446dba5991c6 (patch) | |
tree | 6cc5d137e942b8e2510829b609d5a4a52f07a403 /src/wayland/meta-wayland-versions.h | |
parent | df3b412a254f606a79807e56961b6781fa171c9b (diff) | |
download | mutter-eb6c70137b6d7c7b347148c89b33446dba5991c6.tar.gz |
wayland: Add and implement set/unset_modal for the gtk_surface interface
Add set_modal ond unset_modal to the gtk_surface interface. When a
surface is modal, the compositor can treat it differently from non-modal
dialogs, for example attach it to the parent window if any. There is
currently no changes to input device focus; it is up to the client to
ignore events to the parent surface that is wanted.
This bumps the gtk_shell version to 2.
https://bugzilla.gnome.org/show_bug.cgi?id=745720
Diffstat (limited to 'src/wayland/meta-wayland-versions.h')
-rw-r--r-- | src/wayland/meta-wayland-versions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-versions.h b/src/wayland/meta-wayland-versions.h index 3944956aa..08ceaca10 100644 --- a/src/wayland/meta-wayland-versions.h +++ b/src/wayland/meta-wayland-versions.h @@ -42,7 +42,7 @@ #define META_WL_SEAT_VERSION 4 #define META_WL_OUTPUT_VERSION 2 #define META_XSERVER_VERSION 1 -#define META_GTK_SHELL_VERSION 1 +#define META_GTK_SHELL_VERSION 2 #define META_WL_SUBCOMPOSITOR_VERSION 1 #endif |