summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkscreen-x11.h
diff options
context:
space:
mode:
authorCody Russell <bratsche@gnome.org>2009-12-08 11:27:02 -0600
committerCody Russell <bratsche@gnome.org>2009-12-08 11:27:02 -0600
commit662e69ad3ec7246c48f7117fc407f180c308d9ee (patch)
tree1f5da7ae3734caa032d695241aad30606b7e3990 /gdk/x11/gdkscreen-x11.h
parent0748cf563d0d0d03001a62589f13be16a8ec06c1 (diff)
downloadgtk+-662e69ad3ec7246c48f7117fc407f180c308d9ee.tar.gz
Add gdk_screen_get_primary_monitor(). This fixes bug #601712
Diffstat (limited to 'gdk/x11/gdkscreen-x11.h')
-rw-r--r--gdk/x11/gdkscreen-x11.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/x11/gdkscreen-x11.h b/gdk/x11/gdkscreen-x11.h
index 0d1548cdbb..3efee6ac9e 100644
--- a/gdk/x11/gdkscreen-x11.h
+++ b/gdk/x11/gdkscreen-x11.h
@@ -93,6 +93,7 @@ struct _GdkScreenX11
/* Xinerama/RandR 1.2 */
gint n_monitors;
GdkX11Monitor *monitors;
+ gint primary_monitor;
/* Pango renderer object singleton */
PangoRenderer *renderer;