gri3-wm/src
Ingo Bürk 029d78c0bf Only grab scrollwheel buttons if necessary.
With this patch, we only grab the scrollwheel buttons (4 and 5) when
managing a window if a whole window key binding exists for these buttons.

This allows both of these usecases:
  - Bindings to scrollwheel buttons using --whole-window (see #1701).
  - Scrolling in a window without focusing it if no such binding
    exists (see #2049).

Furthermore, we drop all button grabs and regrab them after a config
reload in order to reevaluate the new bindings correctly.

fixes #2049
2015-11-15 22:08:47 +01:00
..
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
assignments.c Mark assignment as run before executing it. 2015-10-25 14:27:08 +01:00
bindings.c Only grab scrollwheel buttons if necessary. 2015-11-15 22:08:47 +01:00
click.c Bugfix: ignore XKB group bits in floating_modifier 2015-10-30 08:38:53 +01:00
commands.c Merge pull request #2040 from Airblader/bug-2034 2015-10-27 10:07:25 +01:00
commands_parser.c Turn "char *" into "const char *" for all command parser functions. 2015-09-28 14:24:08 +02:00
con.c Fix crash when trying to split and float a dock container. 2015-10-26 22:14:14 +01:00
config.c Only grab scrollwheel buttons if necessary. 2015-11-15 22:08:47 +01:00
config_directives.c Allow multiple tray_output directives. 2015-11-01 16:35:17 -05:00
config_parser.c Fix config validation fail when no new line from end of file 2015-11-02 22:12:44 +08:00
debug.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
display_version.c Display which config is used in --more_version 2015-07-10 22:54:25 +08:00
ewmh.c Set and unset individual atoms in _NET_WM_STATE instead of overwriting the entire list everytime. This allows independent management of multiple states. 2015-09-17 09:13:12 +02:00
fake_outputs.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
floating.c Fix crash when trying to split and float a dock container. 2015-10-26 22:14:14 +01:00
handlers.c Merge pull request #1931 from Airblader/bug-1924 2015-09-24 22:34:29 +02:00
i3.mk Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
ipc.c Allow multiple tray_output directives. 2015-11-01 16:35:17 -05:00
key_press.c Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02:00
load_layout.c Introduce "--add" for marking windows. 2015-10-22 15:32:15 +02:00
log.c log: avoid buffer overflow in vlog 2015-09-21 14:27:22 +02:00
main.c Remove autostart commands after they have been executed. 2015-11-02 09:21:43 -05:00
manage.c Only grab scrollwheel buttons if necessary. 2015-11-15 22:08:47 +01:00
match.c Fix multiple memory leaks with regular expressions. 2015-10-28 14:40:10 +01:00
move.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
output.c Keep a sticky window focused if it was the focused window on the source workspace. 2015-09-24 22:10:17 +02:00
randr.c Activate root output if RandR request fails. 2015-10-21 19:09:47 +02:00
regex.c Fix multiple memory leaks with regular expressions. 2015-10-28 14:40:10 +01:00
render.c Remove broken and unused debug borders. 2015-10-23 00:38:11 +02:00
resize.c Added missing newlines in log statements. 2015-06-30 20:48:35 +02:00
restore_layout.c Use 32-bit visuals for i3bar when possible and allow RGBA colors. 2015-10-06 23:01:57 +02:00
scratchpad.c Make sure sticky windows pop to the front if they get sticky while not being on a visible workspace. 2015-09-13 20:40:20 +02:00
sd-daemon.c format **/*.c with clang-format-3.5 2014-06-15 19:07:02 +02:00
sighandler.c Use 32-bit visuals for i3bar when possible and allow RGBA colors. 2015-10-06 23:01:57 +02:00
startup.c Turn "char *" into "const char *" for all command parser functions. 2015-09-28 14:24:08 +02:00
tree.c Properly clear the urgency hint when set by i3. 2015-08-02 20:50:14 +02:00
util.c Make “debuglog on” command persist via restarts 2015-09-20 07:48:02 +08:00
version.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
window.c Rename is_markup to pango_markup. 2015-10-13 09:59:26 +02:00
workspace.c Revise workspace next/prev 2015-10-16 23:25:12 +08:00
x.c Allow multiple marks on windows. 2015-10-22 15:29:42 +02:00
xcb.c Only grab scrollwheel buttons if necessary. 2015-11-15 22:08:47 +01:00
xcursor.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
xinerama.c Don't create empty workspaces on restart 2015-09-21 13:26:58 +02:00