Skip to content
Permalink
Browse files

xstuff: add is_using_x11 ()

  • Loading branch information...
wmww authored and lukefromdc committed Jan 26, 2019
1 parent e3846eb commit ab19ac4da4490363535be79404900a9c8044987d
Showing with 7 additions and 0 deletions.
  1. +5 −0 mate-panel/xstuff.c
  2. +2 −0 mate-panel/xstuff.h
@@ -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;
@@ -12,6 +12,8 @@

#include "panel-enums-gsettings.h"

gboolean is_using_x11 (void);

void xstuff_zoom_animate (GtkWidget *widget,
cairo_surface_t *surface,
PanelOrientation orientation,

0 comments on commit ab19ac4

Please sign in to comment.
You can’t perform that action at this time.