CTRL+Wheel Horizontal Resize + extras
commit744ccb85d2eaaa32febfb74fa18d15d7bb0c1c3a
authorJohann Haarhoff <johann@haarhoff.org.za>
Sun, 14 Mar 2010 08:49:14 +0000 (14 10:49 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 14 Mar 2010 21:10:24 +0000 (14 22:10 +0100)
tree20b3569f5bcfa7ac949421f59fadbd596970cc13
parente37db24efe04ff20af35071554919455a488804a
CTRL+Wheel Horizontal Resize + extras

This patch constrains MOD+Wheel to vertical resize, and adds
CTRL+Wheel horizontal resize. Two resize in both directions, you
have to use CTRL+MOD+Wheel.

To enable this functionality I have to grab all CTRL+Mousebutton
events in wmaker, which stops them from reaching the application.
This definitely hurts application functionality in some apps, for
example the "VT Fonts" (CTRL+Button3) menu in xterm is no longer
accessible. To stop this from happening use the "Do not bind mouse
clicks" window attribute for the apps in which you want to disable
this.

Because wmaker now controls all CTRL+Mousebutton events, I also
added CTRL+Button1 and CTRL+Button3 shortcuts that will move a
window back and forth through your workspaces without changing its
position or size.
src/event.c
src/window.c