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
2015-09-30 09:03:34 +02:00
2015-11-07 14:28:45 -05:00
2015-11-02 17:32:04 -05:00
2011-08-28 17:44:42 +02:00
2011-08-28 17:44:42 +02:00
2015-09-30 08:55:07 +02:00
2015-09-30 09:06:34 +02:00
Description
No description provided
15 MiB
Languages
C 58.6%
Perl 29%
Raku 9.4%
Ruby 1.2%
Shell 0.7%
Other 1.1%