summaryrefslogtreecommitdiff
path: root/src/gs-grab.h
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2017-01-18 14:39:59 +0000
committerGitHub <[email protected]>2017-01-18 14:39:59 +0000
commit00b0f944837025b61bdffd893d4614ed1d5e7dde (patch)
tree41a3450d67f77f98b4b70392eec923ea54013cc0 /src/gs-grab.h
parent2197434c213600c42b264602c4331eac7761db11 (diff)
parent5d4416aa5853de486e62ca97207ee1da4b35b199 (diff)
downloadmate-screensaver-00b0f944837025b61bdffd893d4614ed1d5e7dde.tar.bz2
mate-screensaver-00b0f944837025b61bdffd893d4614ed1d5e7dde.tar.xz
Merge pull request #110 from XRevan86/master
Avoid deprecated gdk_window_set_background functions
Diffstat (limited to 'src/gs-grab.h')
-rw-r--r--src/gs-grab.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gs-grab.h b/src/gs-grab.h
index 0cba10c..dad9379 100644
--- a/src/gs-grab.h
+++ b/src/gs-grab.h
@@ -56,20 +56,20 @@ GSGrab * gs_grab_new (void);
void gs_grab_release (GSGrab *grab);
gboolean gs_grab_release_mouse (GSGrab *grab);
-gboolean gs_grab_grab_window (GSGrab *grab,
- GdkWindow *window,
- GdkScreen *screen,
- gboolean hide_cursor);
+gboolean gs_grab_grab_window (GSGrab *grab,
+ GdkWindow *window,
+ GdkDisplay *display,
+ gboolean hide_cursor);
gboolean gs_grab_grab_root (GSGrab *grab,
gboolean hide_cursor);
gboolean gs_grab_grab_offscreen (GSGrab *grab,
gboolean hide_cursor);
-void gs_grab_move_to_window (GSGrab *grab,
- GdkWindow *window,
- GdkScreen *screen,
- gboolean hide_cursor);
+void gs_grab_move_to_window (GSGrab *grab,
+ GdkWindow *window,
+ GdkDisplay *display,
+ gboolean hide_cursor);
void gs_grab_mouse_reset (GSGrab *grab);
void gs_grab_keyboard_reset (GSGrab *grab);