gri3-wm/i3bar/src
Orestis Floros 315ff17563 Add '--release' flag for bindsym in the bar block
i3bar's handle_button is modified to also handle XCB_BUTTON_RELEASE
events. During these button release events, only custom commands are
checked to avoid sending multiple workspace ipc messages.

The way this patch is implemented will allow to assign a custom command
for both the press and release of the same button:
bar {
  ...
  bindsym buttonX exec command1
  bindsym --release buttonX exec command2
}

Fixes #3068.
2017-12-08 12:16:22 +02:00
..
child.c i3bar: avoid possible va_args leak 2017-10-17 04:28:07 +03:00
config.c Add '--release' flag for bindsym in the bar block 2017-12-08 12:16:22 +02:00
ipc.c i3bar: free output data structures 2017-12-03 20:25:34 +02:00
main.c i3bar: free output data structures 2017-12-03 20:25:34 +02:00
mode.c Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
outputs.c i3bar: free output data structures 2017-12-03 20:25:34 +02:00
parse_json_header.c Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
workspaces.c Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
xcb.c Add '--release' flag for bindsym in the bar block 2017-12-08 12:16:22 +02:00