Update output layout when scale or transform changes

This commit is contained in:
emersion 2017-12-12 21:58:00 +01:00
parent 808ab5aa1b
commit 3b4b8953d9
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
11 changed files with 38 additions and 15 deletions

View file

@ -118,7 +118,6 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e
xcb_configure_notify_event_t *ev = (xcb_configure_notify_event_t *)event;
wlr_output_update_size(&output->wlr_output, ev->width, ev->height);
wl_signal_emit(&output->wlr_output.events.resolution, output);
// Move the pointer to its new location
xcb_query_pointer_cookie_t cookie =