aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authormathias <mathias>2005-03-16 23:19:36 (GMT)
committermathias <mathias>2005-03-16 23:19:36 (GMT)
commitd6befe5371c5df7d719cb184c4d20e38dc841a13 (patch)
treefc4a6e98a0cfd804eab303b8d5950de9b74c355f /src/Ewmh.cc
parentac3fa211bbc79531151e1400404192b1d7e8516f (diff)
downloadfluxbox_pavel-d6befe5371c5df7d719cb184c4d20e38dc841a13.zip
fluxbox_pavel-d6befe5371c5df7d719cb184c4d20e38dc841a13.tar.bz2
fix for gravity field on _NET_MOVERESIZE_WINDOW messages, patch from Rob Stevens <stever3 at nycap dot rr dot com>
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 34c166c..d6ccf36 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -706,9 +706,10 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce,
706 // ce.data.l[2] = y 706 // ce.data.l[2] = y
707 // ce.data.l[3] = width 707 // ce.data.l[3] = width
708 // ce.data.l[4] = height 708 // ce.data.l[4] = height
709 // TODO: gravity and flags 709 // TODO: flags
710 winclient->fbwindow()->moveResize(ce.data.l[1], ce.data.l[2], 710 int win_gravity=ce.data.l[0] & 0xFF;
711 ce.data.l[3], ce.data.l[4]); 711 winclient->fbwindow()->moveResizeForClient(ce.data.l[1], ce.data.l[2],
712 ce.data.l[3], ce.data.l[4], win_gravity);
712 return true; 713 return true;
713 } 714 }
714 715