sway-patched-tray-menu/sway
Ashkan Kiani aa4deef8a8 Fix the payload type returned by IPC
If a client is subscribed and sends a subsequent ipc command which
causes event updates, then those event updates override the
`client->current_command` and send the incorrect type for the payload
associated with the command.

Example:

SUBSCRIBE {window}
RUN_COMMAND focus -> PAYLOAD_TYPE is 0x80000002 for window events

Therefore, we decouple the `client->current_command` by passing it as an
argument to the ipc_send_reply function, avoiding a data race. The same
is done for the `client->payload_length` as a precautionary measure for
the same reason.
2019-04-16 23:48:44 -04:00
..
commands Add deprecation warnings for new_float, new_window, and force_focus_wrapping. 2019-04-14 20:44:12 -04: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 Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
tree Don't apply hide_edge_borders to floating windows 2019-04-16 17:05:49 -04:00
commands.c Add deprecation warnings for new_float, new_window, and force_focus_wrapping. 2019-04-14 20:44:12 -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 swaybar: add overlay mode (fix #1620) 2019-02-24 20:05:47 -05: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 Add documentation for rename workspace 2019-04-16 07:34:07 -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