summaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 3161c677..751e894c 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -90,7 +90,7 @@ static void handle_output_pre_render(wlc_handle output) {
90 struct wlc_geometry geo = { 90 struct wlc_geometry geo = {
91 .size = size 91 .size = size
92 }; 92 };
93 switch (desktop_shell.panel_position) { 93 switch (config->panel_position) {
94 case DESKTOP_SHELL_PANEL_POSITION_TOP: 94 case DESKTOP_SHELL_PANEL_POSITION_TOP:
95 geo.origin = (struct wlc_point){ 0, 0 }; 95 geo.origin = (struct wlc_point){ 0, 0 };
96 break; 96 break;