summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-09-17 21:40:36 +0200
committerDave Davenport <qball@gmpclient.org>2017-09-17 21:40:36 +0200
commit852d80fee35bc55460c6a8ab3775f64653f67089 (patch)
tree6793c6956e65eea968284bd7485bb27de3cf1d7f /include
parentff4946edaffbfc65d31a15db6536f5260629a9e5 (diff)
Change WMQuirk logic
- Default is switch to desktop then select window. - 2 quirks: - pango names. - do not switch.
Diffstat (limited to 'include')
-rw-r--r--include/xcb.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/include/xcb.h b/include/xcb.h
index e4c6e823..04c48058 100644
--- a/include/xcb.h
+++ b/include/xcb.h
@@ -168,21 +168,17 @@ void x11_disable_decoration ( xcb_window_t window );
typedef enum
{
/** Default EWHM compatible window manager */
- WM_EWHM = 0,
+ WM_EWHM = 0,
/** I3 Window manager */
- WM_I3 = 1,
- /** Awesome window manager */
- WM_AWESOME = 2,
- /** Openbox window manager */
- WM_OPENBOX = 4,
- /** Xfwm4 */
- WM_XFWM4 = 8,
-} WindowManager;
+ WM_DO_NOT_CHANGE_CURRENT_DESKTOP = 1,
+ /** PANGO WORKSPACE NAMES */
+ WM_PANGO_WORKSPACE_NAMES = 2,
+} WindowManagerQuirk;
/**
* Indicates the current window manager.
* This is used for work-arounds.
*/
-extern WindowManager current_window_manager;
+extern WindowManagerQuirk current_window_manager;
#endif