diff options
author | rathnor <rathnor> | 2003-09-24 14:02:25 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-09-24 14:02:25 (GMT) |
commit | feb7462e381b4015bc736e90da87dc7cc5711b1a (patch) | |
tree | e028335ecbc02b1e79128247293003b2ce5afc29 /src/WinClient.cc | |
parent | bec4f7c894677a92d9210a1b1e511afd4cee5e5e (diff) | |
download | fluxbox-feb7462e381b4015bc736e90da87dc7cc5711b1a.zip fluxbox-feb7462e381b4015bc736e90da87dc7cc5711b1a.tar.bz2 |
Fix updates to mwm_hints, and make configure request move and resize atomic
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index 1c7b249..614b7a4 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: WinClient.cc,v 1.26 2003/09/21 13:24:27 rathnor Exp $ | 22 | // $Id: WinClient.cc,v 1.27 2003/09/24 14:02:25 rathnor Exp $ |
23 | 23 | ||
24 | #include "WinClient.hh" | 24 | #include "WinClient.hh" |
25 | 25 | ||
@@ -356,12 +356,12 @@ void WinClient::updateMWMHints() { | |||
356 | int format; | 356 | int format; |
357 | Atom atom_return; | 357 | Atom atom_return; |
358 | unsigned long num = 0, len = 0; | 358 | unsigned long num = 0, len = 0; |
359 | Atom motif_wm_hints = XInternAtom(FbTk::App::instance()->display(), "_MOTIF_WM_HINTS", False); | ||
360 | 359 | ||
361 | if (m_mwm_hint) { | 360 | if (m_mwm_hint) { |
362 | XFree(m_mwm_hint); | 361 | XFree(m_mwm_hint); |
363 | m_mwm_hint = 0; | 362 | m_mwm_hint = 0; |
364 | } | 363 | } |
364 | Atom motif_wm_hints = FbAtoms::instance()->getMWMHintsAtom(); | ||
365 | 365 | ||
366 | if (!(property(motif_wm_hints, 0, | 366 | if (!(property(motif_wm_hints, 0, |
367 | PropMwmHintsElements, false, | 367 | PropMwmHintsElements, false, |