aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Rouven Czerwinski <rouven@czerwinskis.de>2018-10-28 10:39:26 +0100
committerLibravatar Rouven Czerwinski <rouven@czerwinskis.de>2018-10-28 11:06:15 +0100
commite4df675840fdef182b5589a81898c7b59ac00aae (patch)
tree45b2fa498c01f843ba5eaef4f09761f30191305d /sway/input/cursor.c
parentMerge pull request #3001 from madblobfish/swaylock-completions-and-manpage (diff)
downloadsway-e4df675840fdef182b5589a81898c7b59ac00aae.tar.gz
sway-e4df675840fdef182b5589a81898c7b59ac00aae.tar.zst
sway-e4df675840fdef182b5589a81898c7b59ac00aae.zip
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/input/cursor.c')
0 files changed, 0 insertions, 0 deletions