aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 9764998..7e5a50c 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -297,8 +297,7 @@ void Ewmh::setupFrame(FluxboxWindow &win) {
297 } else if (atoms[l] == m_net_wm_window_type_dialog) { 297 } else if (atoms[l] == m_net_wm_window_type_dialog) {
298 // dialog windows should not be tabable 298 // dialog windows should not be tabable
299 win.setTabable(false); 299 win.setTabable(false);
300 } else if (atoms[l] == m_net_wm_window_type_menu || 300 } else if (atoms[l] == m_net_wm_window_type_menu) {
301 atoms[l] == m_net_wm_window_type_toolbar) {
302 /* 301 /*
303 * _NET_WM_WINDOW_TYPE_TOOLBAR and _NET_WM_WINDOW_TYPE_MENU 302 * _NET_WM_WINDOW_TYPE_TOOLBAR and _NET_WM_WINDOW_TYPE_MENU
304 * indicate toolbar and pinnable menu windows, respectively 303 * indicate toolbar and pinnable menu windows, respectively
@@ -306,6 +305,10 @@ void Ewmh::setupFrame(FluxboxWindow &win) {
306 * application). Windows of this type may set the 305 * application). Windows of this type may set the
307 * WM_TRANSIENT_FOR hint indicating the main application window. 306 * WM_TRANSIENT_FOR hint indicating the main application window.
308 */ 307 */
308 win.setDecorationMask(FluxboxWindow::DECOR_TINY);
309 win.setIconHidden(true);
310 win.moveToLayer(Layer::ABOVE_DOCK);
311 } else if (atoms[l] == m_net_wm_window_type_toolbar) {
309 win.setDecorationMask(FluxboxWindow::DECOR_NONE); 312 win.setDecorationMask(FluxboxWindow::DECOR_NONE);
310 win.setIconHidden(true); 313 win.setIconHidden(true);
311 win.moveToLayer(Layer::ABOVE_DOCK); 314 win.moveToLayer(Layer::ABOVE_DOCK);