diff options
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index 22ee766..022a4ca 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "Window.hh" | 24 | #include "Window.hh" |
25 | #include "fluxbox.hh" | 25 | #include "fluxbox.hh" |
26 | #include "FocusControl.hh" | 26 | #include "FocusControl.hh" |
27 | #include "Remember.hh" | ||
27 | #include "Screen.hh" | 28 | #include "Screen.hh" |
28 | #include "FbAtoms.hh" | 29 | #include "FbAtoms.hh" |
29 | #include "Xutil.hh" | 30 | #include "Xutil.hh" |
@@ -427,7 +428,8 @@ void WinClient::updateWMHints() { | |||
427 | void WinClient::updateWMNormalHints() { | 428 | void WinClient::updateWMNormalHints() { |
428 | long icccm_mask; | 429 | long icccm_mask; |
429 | XSizeHints sizehint; | 430 | XSizeHints sizehint; |
430 | if (!XGetWMNormalHints(display(), window(), &sizehint, &icccm_mask)) | 431 | if (Remember::instance().isRemembered(*this, Remember::REM_IGNORE_SIZEHINTS) || |
432 | !XGetWMNormalHints(display(), window(), &sizehint, &icccm_mask)) | ||
431 | sizehint.flags = 0; | 433 | sizehint.flags = 0; |
432 | 434 | ||
433 | normal_hint_flags = sizehint.flags; | 435 | normal_hint_flags = sizehint.flags; |