window: Don't set the window size in widget_set_size()

We propagate the toplevel widget size to the window size in the
window.c resize code.
dev
Kristian Høgsberg 13 years ago
parent 6665063328
commit 09a96b5394
  1. 5
      clients/window.c

@ -1080,11 +1080,6 @@ widget_set_size(struct widget *widget, int32_t width, int32_t height)
widget->allocation.width = width; widget->allocation.width = width;
widget->allocation.height = height; widget->allocation.height = height;
window->allocation.x = 0;
window->allocation.y = 0;
window->allocation.width = width;
window->allocation.height = height;
} }
void void

Loading…
Cancel
Save