summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-02-09 21:25:29 +0100
committerDave Davenport <qball@gmpclient.org>2016-02-09 21:25:29 +0100
commit289795b22a2ab0bf3f24e514c50f43df860f2690 (patch)
treeb7cf5179b1e999b2d0e9395cbddf199a99062d1e /include
parent9b12f69fec93756e5e5b5c470d1250d5ffe9eb92 (diff)
Fix finding active desktop!
Diffstat (limited to 'include')
-rw-r--r--include/textbox.h18
-rw-r--r--include/x11-helper.h1
2 files changed, 10 insertions, 9 deletions
diff --git a/include/textbox.h b/include/textbox.h
index ecc52784..fe59b02a 100644
--- a/include/textbox.h
+++ b/include/textbox.h
@@ -40,15 +40,15 @@ typedef struct
typedef enum
{
- TB_AUTOHEIGHT = 1 << 0,
- TB_AUTOWIDTH = 1 << 1,
- TB_LEFT = 1 << 16,
- TB_RIGHT = 1 << 17,
- TB_CENTER = 1 << 18,
- TB_EDITABLE = 1 << 19,
- TB_MARKUP = 1 << 20,
- TB_WRAP = 1 << 21,
- TB_PASSWORD = 1 << 22,
+ TB_AUTOHEIGHT = 1 << 0,
+ TB_AUTOWIDTH = 1 << 1,
+ TB_LEFT = 1 << 16,
+ TB_RIGHT = 1 << 17,
+ TB_CENTER = 1 << 18,
+ TB_EDITABLE = 1 << 19,
+ TB_MARKUP = 1 << 20,
+ TB_WRAP = 1 << 21,
+ TB_PASSWORD = 1 << 22,
} TextboxFlags;
typedef enum
diff --git a/include/x11-helper.h b/include/x11-helper.h
index b075feeb..a3647b71 100644
--- a/include/x11-helper.h
+++ b/include/x11-helper.h
@@ -55,6 +55,7 @@ int window_get_cardinal_prop ( Display *display, Window w, Atom atom, unsigned l
X ( _NET_WM_WINDOW_TYPE_NORMAL ), \
X ( _NET_WM_STATE_FULLSCREEN ), \
X ( _NET_WM_DESKTOP ), \
+ X ( _NET_DESKTOP_VIEWPORT ), \
X ( CLIPBOARD ), \
X ( UTF8_STRING ), \
X ( _NET_WM_WINDOW_OPACITY )