swayfx/sway
Brian Ashworth 59d9a991b4 ipc: fix criteria for emitting bar_state_update
This fixes the criteria for emitting a `bar_state_update` event to
notify swaybar (and any other bars utilizing the event) on whether the
bar is visible by modifier. It is not enough to only emit the event
when both the bar mode and bar hidden state are `hide` since it is
possible to release the modifier while hidden state is `show` and then
change hidden state to `hide` without pressing the modifier. This also
emits the event whenever visible by modifier is set and should no
longer be regardless of the mode and state to ensure that it gets
properly cleared. If visible by modifier is not set and the bar is not
in `hide`/`hide`, then no events will be sent and visible by modifier
will not be set
2019-04-20 09:09:11 -06:00
..
commands cmd_move: allow for all i3 syntax options 2019-04-19 08:39:57 -06:00
config Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
desktop Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
input ipc: fix criteria for emitting bar_state_update 2019-04-20 09:09:11 -06:00
tree Don't apply hide_edge_borders to floating windows 2019-04-16 17:05:49 -04:00
commands.c Add unbindswitch command 2019-04-17 23:29:43 -04:00
config.c Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
criteria.c criteria: fix __focused__ when no focus or unset 2019-03-23 09:53:23 +02:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Send disabled output available modes on IPC get_outputs 2019-04-16 00:16:20 -04:00
ipc-server.c Fix the payload type returned by IPC 2019-04-16 23:48:44 -04:00
main.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
meson.build Add deprecation warnings for new_float, new_window, and force_focus_wrapping. 2019-04-14 20:44:12 -04:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Set DISPLAY after initializing Xwayland 2019-03-04 21:16:00 +01:00
sway-bar.5.scd Add unbindsym/unbindcode command for swaybar 2019-04-17 23:29:43 -04:00
sway-input.5.scd Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
sway-ipc.7.scd Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
sway-output.5.scd Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd cmd_move: allow for all i3 syntax options 2019-04-19 08:39:57 -06:00
swaynag.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.c view: set xdg_decoration->view to NULL, check decoration destroy 2019-02-23 03:03:03 -05:00