mirror of
https://github.com/swaywm/sway.git
synced 2026-02-07 04:06:44 -05:00
Move variable creation outside of conditional code block
See https://github.com/swaywm/sway/pull/8405#discussion_r1818100461
This commit is contained in:
parent
6523a2379b
commit
8241bde588
1 changed files with 1 additions and 1 deletions
|
|
@ -147,8 +147,8 @@ static void wl_pointer_enter(void *data, struct wl_pointer *wl_pointer,
|
|||
|
||||
static void wl_pointer_leave(void *data, struct wl_pointer *wl_pointer,
|
||||
uint32_t serial, struct wl_surface *surface) {
|
||||
#if HAVE_TRAY
|
||||
struct swaybar_seat *seat = data;
|
||||
#if HAVE_TRAY
|
||||
struct swaybar_config *config = seat->bar->config;
|
||||
if (!config->tray_hidden && dbusmenu_pointer_leave(data, wl_pointer, serial,
|
||||
surface)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue