summaryrefslogtreecommitdiff
path: root/clients/desktop-shell.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-10-09 15:17:01 -0700
committerKristian Høgsberg <krh@bitplanet.net>2013-10-09 15:23:16 -0700
commit6a11a8ab544d7fa186374ca5f26c2f403409f223 (patch)
treeb793b491949ecb6976f2a205295833b5798329ee /clients/desktop-shell.c
parentcb406f1afd560762f60c27f7a88fd9f65c15041f (diff)
downloadweston-6a11a8ab544d7fa186374ca5f26c2f403409f223.tar.gz
Revert "Resize the shell when the mode is switched"
This breaks panel resizing as it doesn't account for output rotation. https://bugs.freedesktop.org/show_bug.cgi?id=70249 This reverts commit a356f7b1ef08fd9c2ad69cada89d68841e71a6bb.
Diffstat (limited to 'clients/desktop-shell.c')
-rw-r--r--clients/desktop-shell.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index 1a5a94fd..599c0a5b 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -1160,13 +1160,6 @@ output_handle_mode(void *data,
int height,
int refresh)
{
- struct output *output = (struct output *)data;
-
- if (flags & WL_OUTPUT_MODE_CURRENT) {
- window_schedule_resize(output->panel->window, width, 32);
- window_schedule_resize(output->background->window,
- width, height);
- }
}
static void