From 0f7a285fe187aea405dc5e6f6268a79bdf9d1627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 5 Nov 2012 20:20:53 -0500 Subject: [PATCH] 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. --- clients/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index fe968ed5..ddd8bca8 100644 --- a/clients/window.c +++ b/clients/window.c @@ -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; } }