struct window *window = data;
uint32_t *p;
- if (width > 0 && height > 0) {
- window_schedule_resize(window, width, height);
- } else {
- window_schedule_resize(window,
- window->saved_allocation.width,
- window->saved_allocation.height);
- }
-
window->maximized = 0;
window->fullscreen = 0;
window->resizing = 0;
}
}
+ if (width > 0 && height > 0) {
+ window_schedule_resize(window, width, height);
+ } else {
+ window_schedule_resize(window,
+ window->saved_allocation.width,
+ window->saved_allocation.height);
+ }
+
window->next_attach_serial = serial;
if (window->state_changed_handler)