summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-10-16 20:51:37 +0200
committerQC <qball@gmpclient.org>2015-10-16 20:51:37 +0200
commit0818fbd68b3f83941d15817f27f01b65c110c1fd (patch)
tree75b14fbc0359307cee67f1d433431c750fb0bc91 /include
parent291d1ed16c66dc1c866a7c1e5eba257c0c4a1613 (diff)
Add fullscreen mode and fix some redrawing issues.
Diffstat (limited to 'include')
-rw-r--r--include/rofi.h2
-rw-r--r--include/x11-helper.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/rofi.h b/include/rofi.h
index d83c2d78..871a676c 100644
--- a/include/rofi.h
+++ b/include/rofi.h
@@ -244,6 +244,8 @@ typedef struct _Settings
unsigned int hide_scrollbar;
/** show markup in elements. */
unsigned int markup_rows;
+ /** fullscreen */
+ unsigned int fullscreen;
} Settings;
/** Global Settings structure. */
diff --git a/include/x11-helper.h b/include/x11-helper.h
index 588a0196..1f688895 100644
--- a/include/x11-helper.h
+++ b/include/x11-helper.h
@@ -45,6 +45,7 @@ int window_get_cardinal_prop ( Display *display, Window w, Atom atom, unsigned l
X ( _NET_WM_WINDOW_TYPE_DOCK ), \
X ( _NET_WM_WINDOW_TYPE_DESKTOP ), \
X ( _NET_WM_WINDOW_TYPE_NORMAL ), \
+ X ( _NET_WM_STATE_FULLSCREEN ), \
X ( _NET_WM_DESKTOP ), \
X ( CLIPBOARD ), \
X ( UTF8_STRING ), \