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 a356f7b1ef.
This commit is contained in:
@@ -1160,13 +1160,6 @@ output_handle_mode(void *data,
|
|||||||
int height,
|
int height,
|
||||||
int refresh)
|
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
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user