diff options
author | Scott Balneaves <[email protected]> | 2017-03-28 14:26:23 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-28 14:26:23 -0500 |
commit | e16722e6b7558102c591a41f88e26e09e96100cd (patch) | |
tree | e777596de43055a4fed793812feab8914ac704b2 /src/test-window.c | |
parent | db523987bdf9048d91d4d519b0516281a86ff6b0 (diff) | |
parent | a7b8a687fa461b752b944bcdfda5a73a61088d12 (diff) | |
download | mate-screensaver-e16722e6b7558102c591a41f88e26e09e96100cd.tar.bz2 mate-screensaver-e16722e6b7558102c591a41f88e26e09e96100cd.tar.xz |
Merge pull request #116 from mate-desktop/dev-gdkseat
Switch to GdkSeat for GTK+ 3.20 and newer
Diffstat (limited to 'src/test-window.c')
-rw-r--r-- | src/test-window.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test-window.c b/src/test-window.c index f07c5c7..1a5fd42 100644 --- a/src/test-window.c +++ b/src/test-window.c @@ -57,12 +57,11 @@ static void window_show_cb (GSWindow *window, gpointer data) { - /* Grab keyboard so dialog can be used */ + /* move devices grab so that dialog can be used */ gs_grab_move_to_window (grab, gs_window_get_gdk_window (window), gs_window_get_display (window), - FALSE); - + TRUE, FALSE); } static gboolean @@ -92,7 +91,7 @@ window_destroyed_cb (GtkWindow *window, gpointer data) { disconnect_window_signals (GS_WINDOW (window)); - gs_grab_release (grab); + gs_grab_release (grab, TRUE); gtk_main_quit (); } |