diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-28 10:39:26 +0100 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-28 11:06:15 +0100 |
commit | e4df675840fdef182b5589a81898c7b59ac00aae (patch) | |
tree | 45b2fa498c01f843ba5eaef4f09761f30191305d /sway/commands/bar/hidden_state.c | |
parent | 707f3ad2750d74a46ff859439e87acc661b599f5 (diff) |
output: initialize layers and signal before using functions
The previous pull request #2993 tried to fix this by moving the function which
used the layers after the initilization.
Since this initialization is done unconditionally only depending on the struct
definition, move the layer initialization to the beginning of the function.
Also move the signal initialization of the destroy event.
Fixes #2992
Diffstat (limited to 'sway/commands/bar/hidden_state.c')
0 files changed, 0 insertions, 0 deletions