summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-17 23:31:14 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-17 23:47:42 +0100
commitf63512480c058b9ebe80c2dd5f43fd6597811ef4 (patch)
treed0f2a2aeb742e3abbc3da0c251d1e9c7f18d7f16 /include
parentMerge pull request #515 from mikkeloscar/focus-correct-swaylock-view (diff)
downloadsway-f63512480c058b9ebe80c2dd5f43fd6597811ef4.tar.gz
sway-f63512480c058b9ebe80c2dd5f43fd6597811ef4.tar.zst
sway-f63512480c058b9ebe80c2dd5f43fd6597811ef4.zip
Remove unused panel_size (and fix rearrange)
desktop_shell.panel_size was only used to determine if sway should rearrange the output when rendering the panel in the output_pre_render hook. This is not needed since the output will have been arranged at that point. It also caused sway to rearrange all the time when running with two or more different monitors/resolutions because panel_size kept changing with every output_pre_render callback. Should fix #514
Diffstat (limited to 'include')
-rw-r--r--include/extensions.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/extensions.h b/include/extensions.h
index 164688ee..158a40a2 100644
--- a/include/extensions.h
+++ b/include/extensions.h
@@ -28,7 +28,6 @@ struct desktop_shell_state {
28 list_t *panels; 28 list_t *panels;
29 list_t *lock_surfaces; 29 list_t *lock_surfaces;
30 bool is_locked; 30 bool is_locked;
31 struct wlc_size panel_size;
32}; 31};
33 32
34struct swaylock_state { 33struct swaylock_state {