aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox/mb-wm-decor.c
diff options
context:
space:
mode:
Diffstat (limited to 'matchbox/mb-wm-decor.c')
-rw-r--r--matchbox/mb-wm-decor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/matchbox/mb-wm-decor.c b/matchbox/mb-wm-decor.c
index fbb8244..26055bb 100644
--- a/matchbox/mb-wm-decor.c
+++ b/matchbox/mb-wm-decor.c
@@ -219,6 +219,8 @@ mb_wm_decor_grab_handler (XEvent *xev,
geom.x = closure->orig_x + diff_x;
geom.y = closure->orig_y + diff_y;
+ geom.width = decor->parent_client->frame_geometry.width;
+ geom.height = decor->parent_client->frame_geometry.height;
mb_wm_client_request_geometry (decor->parent_client,
&geom,