summaryrefslogtreecommitdiff
path: root/gdk/broadway/gdkeventsource.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-03-28 19:00:23 +0100
committerAlexander Larsson <alexl@redhat.com>2013-03-29 14:09:46 +0100
commita20cb3dd251c276a839ef3ba88e1dfe2b4f37ede (patch)
tree40e82a9a9e7ba7548ab6429f4948447da9d03a1f /gdk/broadway/gdkeventsource.c
parent19e683e62a732b7a927b1921b68d0d20212bcccc (diff)
downloadgtk+-a20cb3dd251c276a839ef3ba88e1dfe2b4f37ede.tar.gz
broadway: Ensure window sizes are synched right
We don't want to update the window size on configure event, only the position, as the size is client side controlled. We were updating to an old size during resizes which causes us to send surfaces of the wrong size to the daemon.
Diffstat (limited to 'gdk/broadway/gdkeventsource.c')
-rw-r--r--gdk/broadway/gdkeventsource.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/broadway/gdkeventsource.c b/gdk/broadway/gdkeventsource.c
index a4399c431e..a23da78dd0 100644
--- a/gdk/broadway/gdkeventsource.c
+++ b/gdk/broadway/gdkeventsource.c
@@ -256,10 +256,6 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message)
{
window->x = message->configure_notify.x;
window->y = message->configure_notify.y;
- window->width = message->configure_notify.width;
- window->height = message->configure_notify.height;
- _gdk_window_update_size (window);
- _gdk_broadway_window_resize_surface (window);
event = gdk_event_new (GDK_CONFIGURE);
event->configure.window = g_object_ref (window);