diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-08-12 06:33:39 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-08-27 06:54:26 (GMT) |
commit | 8d88d9be176f255bb85b13a9719145127273467c (patch) | |
tree | 6ac3f251ed8c77e86dc5fa85c86314e922af875a /src/WinClient.cc | |
parent | 3df681da2d274fa215ca98faa9507bcb5949ef52 (diff) | |
download | fluxbox-8d88d9be176f255bb85b13a9719145127273467c.zip fluxbox-8d88d9be176f255bb85b13a9719145127273467c.tar.bz2 |
add apps key to ignore XSizeHints
BUG: 1075
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; |