summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2013-01-21 11:49:45 +0100
committerOlivier Fourdan <ofourdan@redhat.com>2013-01-25 13:16:56 +0100
commit54dc823d67ce784511b5638ec62e4e9a73d21857 (patch)
tree05b908f0e4d002bc03f592b26297fe92de647a83 /gdk/gdkinternals.h
parente57de5310834083a7ac28992e64b9394d76adb04 (diff)
downloadgtk+-54dc823d67ce784511b5638ec62e4e9a73d21857.tar.gz
gdk: add gdk_window_set_fullscreen_mode()
and gdk_window_get_fullscreen_mode() API to allow applications to specify if a fullscreen window should span across all monitors in a multi-monitor setup or remain on the current monitor where the window is placed. Fullscreen mode can be either GDK_FULLSCREEN_ON_ALL_MONITORS or GDK_FULLSCREEN_ON_CURRENT_MONITOR. https://bugzilla.gnome.org/show_bug.cgi?id=691856
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 35bbb7fe24..0eb4074cb8 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -221,6 +221,7 @@ struct _GdkWindow
guint native_visibility : 2; /* the native visibility of a impl windows */
guint viewable : 1; /* mapped and all parents mapped */
guint applied_shape : 1;
+ GdkFullscreenMode fullscreen_mode;
/* The GdkWindow that has the impl, ref:ed if another window.
* This ref is required to keep the wrapper of the impl window alive