diff options
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index afab938..fef4428 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -310,8 +310,7 @@ void Ewmh::setupFrame(FluxboxWindow &win) { | |||
310 | } else if (atoms[l] == m_net_wm_window_type_dialog) { | 310 | } else if (atoms[l] == m_net_wm_window_type_dialog) { |
311 | // dialog windows should not be tabable | 311 | // dialog windows should not be tabable |
312 | win.setTabable(false); | 312 | win.setTabable(false); |
313 | } else if (atoms[l] == m_net_wm_window_type_menu || | 313 | } else if (atoms[l] == m_net_wm_window_type_menu) { |
314 | atoms[l] == m_net_wm_window_type_toolbar) { | ||
315 | /* | 314 | /* |
316 | * _NET_WM_WINDOW_TYPE_TOOLBAR and _NET_WM_WINDOW_TYPE_MENU | 315 | * _NET_WM_WINDOW_TYPE_TOOLBAR and _NET_WM_WINDOW_TYPE_MENU |
317 | * indicate toolbar and pinnable menu windows, respectively | 316 | * indicate toolbar and pinnable menu windows, respectively |
@@ -319,6 +318,10 @@ void Ewmh::setupFrame(FluxboxWindow &win) { | |||
319 | * application). Windows of this type may set the | 318 | * application). Windows of this type may set the |
320 | * WM_TRANSIENT_FOR hint indicating the main application window. | 319 | * WM_TRANSIENT_FOR hint indicating the main application window. |
321 | */ | 320 | */ |
321 | win.setDecoration(FluxboxWindow::DECOR_TINY); | ||
322 | win.setIconHidden(true); | ||
323 | win.moveToLayer(Layer::ABOVE_DOCK); | ||
324 | } else if (atoms[l] == m_net_wm_window_type_toolbar) { | ||
322 | win.setDecoration(FluxboxWindow::DECOR_NONE); | 325 | win.setDecoration(FluxboxWindow::DECOR_NONE); |
323 | win.setIconHidden(true); | 326 | win.setIconHidden(true); |
324 | win.moveToLayer(Layer::ABOVE_DOCK); | 327 | win.moveToLayer(Layer::ABOVE_DOCK); |