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/gs-monitor.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/gs-monitor.c')
-rw-r--r-- | src/gs-monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gs-monitor.c b/src/gs-monitor.c index 42dead3..732a59b 100644 --- a/src/gs-monitor.c +++ b/src/gs-monitor.c @@ -102,7 +102,7 @@ static gboolean release_grab_timeout(GSMonitor* monitor) if (! manager_active) { - gs_grab_release(monitor->priv->grab); + gs_grab_release(monitor->priv->grab, TRUE); } monitor->priv->release_grab_id = 0; @@ -128,7 +128,7 @@ static gboolean watcher_idle_notice_cb(GSWatcher* watcher, gboolean in_effect, G if (activation_enabled && ! inhibited) { /* start slow fade */ - if (gs_grab_grab_offscreen(monitor->priv->grab, FALSE)) + if (gs_grab_grab_offscreen(monitor->priv->grab, FALSE, FALSE)) { gs_fade_async(monitor->priv->fade, FADE_TIMEOUT, NULL, NULL); } |