summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/resize.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-30 17:23:51 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-30 17:23:51 +0000
commit85f0fd50d087f87df75a621662fb2f3b1961ad8d (patch)
tree55b29e046de6251e271df3d852a7b008009914f0 /beryl-plugins/src/resize.c
parent2a25597354dd50133cff25729b1fd1ba44b5ef3e (diff)
downloadmarex-dev-85f0fd50d087f87df75a621662fb2f3b1961ad8d.tar.gz
marex-dev-85f0fd50d087f87df75a621662fb2f3b1961ad8d.tar.bz2
beryl-core: only update the window position from a configure notify if the window isn't grabbed - otherwise, the grabbing plugin must do that (closes #147)
git-svn-id: file:///beryl/trunk@3437 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/resize.c')
-rw-r--r--beryl-plugins/src/resize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/beryl-plugins/src/resize.c b/beryl-plugins/src/resize.c
index e85c444..2446289 100644
--- a/beryl-plugins/src/resize.c
+++ b/beryl-plugins/src/resize.c
@@ -941,6 +941,7 @@ static void resizeHandleEvent(CompDisplay * d, XEvent * event)
if (rd->ungrabPending) {
if (rd->w && (rd->w->id == event->xconfigure.window)) {
(rd->w->screen->windowUngrabNotify) (rd->w);
+ syncWindowPosition(rd->w);
rd->w = NULL;
}
rd->ungrabPending = FALSE;