mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 13:38:05 +02:00
window.c: Move misplaced break to where it belongs
The break statement wasn't copy and pasted along with the rest of the code
causing menu item before it ("Move to workspace below") to fall through to
the fullscreen case.
This commit is contained in:
parent
de37d67ac5
commit
0f7a285fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -1779,12 +1779,12 @@ frame_menu_func(struct window *window, int index, void *data)
|
|||
workspace_manager_move_surface(display->workspace_manager,
|
||||
window->surface,
|
||||
display->workspace + 1);
|
||||
break;
|
||||
case 3: /* fullscreen */
|
||||
/* we don't have a way to get out of fullscreen for now */
|
||||
if (window->fullscreen_handler)
|
||||
window->fullscreen_handler(window, window->user_data);
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue