summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplaymanagerprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-04-09 13:25:31 +0200
committerBenjamin Otte <otte@redhat.com>2013-04-15 15:43:26 +0200
commit839f402191a82a1129c7bda78f7c471da1766cf5 (patch)
tree8195e66cf1340c8fd1690942bfe9eb4c57f2b79d /gdk/gdkdisplaymanagerprivate.h
parentad764c8a58579c6f0427c3584b00530a32001303 (diff)
downloadgtk+-839f402191a82a1129c7bda78f7c471da1766cf5.tar.gz
displaymanager: Handle the default display
... instead of having every backend do it on their own.
Diffstat (limited to 'gdk/gdkdisplaymanagerprivate.h')
-rw-r--r--gdk/gdkdisplaymanagerprivate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkdisplaymanagerprivate.h b/gdk/gdkdisplaymanagerprivate.h
index fade4d6a7c..547ea71eca 100644
--- a/gdk/gdkdisplaymanagerprivate.h
+++ b/gdk/gdkdisplaymanagerprivate.h
@@ -31,6 +31,8 @@ typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass;
struct _GdkDisplayManager
{
GObject parent_instance;
+
+ GdkDisplay *default_display;
};
struct _GdkDisplayManagerClass
@@ -38,7 +40,6 @@ struct _GdkDisplayManagerClass
GObjectClass parent_class;
GSList * (*list_displays) (GdkDisplayManager *manager);
- GdkDisplay * (*get_default_display) (GdkDisplayManager *manager);
void (*set_default_display) (GdkDisplayManager *manager,
GdkDisplay *display);
GdkDisplay * (*open_display) (GdkDisplayManager *manager,