diff options
Diffstat (limited to 'mate-panel/xstuff.c')
-rw-r--r-- | mate-panel/xstuff.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mate-panel/xstuff.c b/mate-panel/xstuff.c index 199b8620..02627a18 100644 --- a/mate-panel/xstuff.c +++ b/mate-panel/xstuff.c @@ -46,6 +46,11 @@ static gboolean xstuff_display_is_dead = FALSE; #define ZOOM_STEPS 14 #define ZOOM_DELAY 10 +gboolean is_using_x11 () +{ + return GDK_IS_X11_DISPLAY (gdk_display_get_default ()); +} + typedef struct { int size; int size_start; |