aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-20 12:05:32 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-20 12:05:32 -0500
commit3082245243689e978186d6a6ba69972b050fb288 (patch)
tree364472d861aac5192e964a4984e1e63752e16c90 /sway/handlers.c
parentfdb9ce52ef7e8b4abce0e0d3b86c0bc67d7d943a (diff)
parente45fd9b6c5dfb858c6f86277351bc216574d8200 (diff)
Merge pull request #373 from sce/per_panel_config
Per panel config
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) {
struct wlc_geometry geo = {
.size = size
};
- switch (desktop_shell.panel_position) {
+ switch (config->panel_position) {
case DESKTOP_SHELL_PANEL_POSITION_TOP:
geo.origin = (struct wlc_point){ 0, 0 };
break;