summaryrefslogtreecommitdiff
path: root/gdk/quartz
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-11-15 07:50:37 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-11-15 07:50:37 -0500
commitb3f17ea9159782828bd22d3578e9b8ad72f898e3 (patch)
tree46e3b68c972ff36c792368143c71a2f95a2b4b9f /gdk/quartz
parentdf2b534042e219ee87f81131add8079541e0d558 (diff)
downloadgtk+-b3f17ea9159782828bd22d3578e9b8ad72f898e3.tar.gz
Quartz: Set the shows-desktop platform setting
OS X shows icons on the desktop, so set this setting to TRUE here.
Diffstat (limited to 'gdk/quartz')
-rw-r--r--gdk/quartz/gdkevents-quartz.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index 90bcdb97da..39a214bb0e 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -1673,6 +1673,13 @@ _gdk_quartz_screen_get_setting (GdkScreen *screen,
return TRUE;
}
+ else if (strcmp (name, "gtk-shell-shows-desktop") == 0)
+ {
+ GDK_QUARTZ_ALLOC_POOL;
+
+ g_value_set_boolean (value, TRUE);
+
+ GDK_QUARTZ_RELEASE_POOL;
/* FIXME: Add more settings */