diff options
-rw-r--r-- | src/Ewmh.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 3a47132..441c849 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -679,14 +679,12 @@ void Ewmh::setupClient(WinClient &winclient) { | |||
679 | } else if (winclient.isTransient()) { | 679 | } else if (winclient.isTransient()) { |
680 | // if _NET_WM_WINDOW_TYPE not set and this window | 680 | // if _NET_WM_WINDOW_TYPE not set and this window |
681 | // has transient_for the type must be set to _NET_WM_WINDOW_TYPE_DIALOG | 681 | // has transient_for the type must be set to _NET_WM_WINDOW_TYPE_DIALOG |
682 | if (winclient.isTransient()) { | 682 | type = WindowState::TYPE_DIALOG; |
683 | type = WindowState::TYPE_DIALOG; | 683 | winclient. |
684 | winclient. | 684 | changeProperty(m_net->wm_window_type, |
685 | changeProperty(m_net->wm_window_type, | 685 | XA_ATOM, 32, PropModeReplace, |
686 | XA_ATOM, 32, PropModeReplace, | 686 | (unsigned char*)&m_net->wm_window_type_dialog, 1); |
687 | (unsigned char*)&m_net->wm_window_type_dialog, 1); | ||
688 | 687 | ||
689 | } | ||
690 | } | 688 | } |
691 | winclient.setWindowType(type); | 689 | winclient.setWindowType(type); |
692 | 690 | ||