We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3846eb commit ab19ac4Copy full SHA for ab19ac4
mate-panel/xstuff.c
@@ -46,6 +46,11 @@ static gboolean xstuff_display_is_dead = FALSE;
46
#define ZOOM_STEPS 14
47
#define ZOOM_DELAY 10
48
49
+gboolean is_using_x11 ()
50
+{
51
+ return GDK_IS_X11_DISPLAY (gdk_display_get_default ());
52
+}
53
+
54
typedef struct {
55
int size;
56
int size_start;
mate-panel/xstuff.h
@@ -12,6 +12,8 @@
12
13
#include "panel-enums-gsettings.h"
14
15
+gboolean is_using_x11 (void);
16
17
void xstuff_zoom_animate (GtkWidget *widget,
18
cairo_surface_t *surface,
19
PanelOrientation orientation,
0 commit comments