Commit 7e0f2031 authored by Marius Vlad's avatar Marius Vlad Committed by Daniel Stone

clients/fullscreen: Refuse to resize the surface size when fullscreen'ed

This would be causing a protocol error in which the buffer size needs to
match the one provided in the configure event.
Signed-off-by: Marius Vlad's avatarMarius Vlad <>
parent 36453951
......@@ -280,6 +280,9 @@ key_handler(struct window *window, struct input *input, uint32_t time,
case XKB_KEY_z:
if (fullscreen->fullscreen)
current_size = (current_size + 1) % 4;
fullscreen->width = widths[current_size];
fullscreen->height = heights[current_size];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment