summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-04-11 17:04:25 -0700
committerJasper St. Pierre <jstpierre@mecheye.net>2014-05-13 02:39:59 -0400
commitc1efc4ad7b4472a9a2f8eb0426638c502e470116 (patch)
tree899c730490baeea2d4f5e1102237db2f19db7ee0 /gdk/gdkinternals.h
parent807f0aa74795816e59088838343c7557b921fa62 (diff)
downloadgtk+-c1efc4ad7b4472a9a2f8eb0426638c502e470116.tar.gz
gdk: Add new _gdk_set_window_state
Wayland's mechanism tells us all of our new states, rather than telling us which ones were added and removed. Add a new private interface so that we can simply specify the new states as a bitfield directly rather than having to compute which ones were added and removed.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 6010396af8..3cc26cc6dd 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -321,6 +321,9 @@ void _gdk_windowing_event_data_copy (const GdkEvent *src,
GdkEvent *dst);
void _gdk_windowing_event_data_free (GdkEvent *event);
+void _gdk_set_window_state (GdkWindow *window,
+ GdkWindowState new_state);
+
gboolean _gdk_cairo_surface_extents (cairo_surface_t *surface,
GdkRectangle *extents);