diff options
Diffstat (limited to 'matchbox/core')
-rw-r--r-- | matchbox/core/mb-window-manager.c | 9 | ||||
-rw-r--r-- | matchbox/core/mb-wm-client-base.c | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/matchbox/core/mb-window-manager.c b/matchbox/core/mb-window-manager.c index 6e209ac..f6c2232 100644 --- a/matchbox/core/mb-window-manager.c +++ b/matchbox/core/mb-window-manager.c @@ -586,7 +586,14 @@ mb_wm_handle_composite_config_notify (XConfigureEvent *xev, client = mb_wm_managed_client_from_frame (wm, xev->window); if (client) - mb_wm_comp_mgr_client_configure (client->cm_client); + { + MBGeometry new_geometry; + new_geometry.x = xev->x; + new_geometry.y = xev->y; + new_geometry.width = xev->width; + new_geometry.height = xev->height; + mb_wm_comp_mgr_client_configure (client->cm_client, &new_geometry); + } } return True; } diff --git a/matchbox/core/mb-wm-client-base.c b/matchbox/core/mb-wm-client-base.c index 4dbf7a7..6460b22 100644 --- a/matchbox/core/mb-wm-client-base.c +++ b/matchbox/core/mb-wm-client-base.c @@ -413,7 +413,8 @@ move_resize_client_xwin (MBWindowManagerClient *client, int x, int y, int w, int #if ENABLE_COMPOSITE if (mb_wm_comp_mgr_enabled (wm->comp_mgr)) { - mb_wm_comp_mgr_client_configure (client->cm_client); + mb_wm_comp_mgr_client_configure (client->cm_client, + &client->window->x_geometry); } #endif } |