projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb406f1
)
Revert "Resize the shell when the mode is switched"
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 9 Oct 2013 22:17:01 +0000
(15:17 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 9 Oct 2013 22:23:16 +0000
(15:23 -0700)
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
.
clients/desktop-shell.c
patch
|
blob
|
history
diff --git
a/clients/desktop-shell.c
b/clients/desktop-shell.c
index
1a5a94f
..
599c0a5
100644
(file)
--- 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