No longer handle ConfigureNotify events directly in mutter
We are now informed of window moves/resizes via callbacks from src/core instead.
This commit is contained in:
@@ -3721,6 +3721,8 @@ meta_window_move_resize_internal (MetaWindow *window,
|
||||
newx, newy, window->rect.width, window->rect.height,
|
||||
window->user_rect.x, window->user_rect.y,
|
||||
window->user_rect.width, window->user_rect.height);
|
||||
meta_compositor_sync_window_geometry (window->display->compositor,
|
||||
window);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3878,6 +3880,8 @@ meta_window_configure_notify (MetaWindow *window, XConfigureEvent *event)
|
||||
window->rect.height = event->height;
|
||||
if (!event->override_redirect && !event->send_event)
|
||||
meta_warning ("Unhandled change of windows override redirect status\n");
|
||||
|
||||
meta_compositor_sync_window_geometry (window->display->compositor, window);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user