wayland: send xdg-output size as size, not position

https://bugzilla.gnome.org/show_bug.cgi?id=792527
This commit is contained in:
Olivier Fourdan 2018-01-15 10:41:01 +01:00
parent 01e27a4366
commit 3e77f6704b

View File

@ -541,9 +541,9 @@ send_xdg_output_events (struct wl_resource *resource,
old_layout.width != new_layout.width ||
old_layout.height != new_layout.height)
{
zxdg_output_v1_send_logical_position (resource,
new_layout.width,
new_layout.height);
zxdg_output_v1_send_logical_size (resource,
new_layout.width,
new_layout.height);
need_done = TRUE;
}