[dwm] mousemode patch

From: y i y u s <yiyu.jgl_AT_gmail.com>
Date: Wed, 3 Jan 2007 22:00:13 +0100

I know dwm was designed with keyboard users in mind, and I'm sure this
patch won't go into main, but you could find it useful if - like me -
you have a cordless mouse and are a bit fair of your keyboard.
The funcionality:
When you press in the title zone with Button3 in the status bar a
square appear in the arrange mode symbol indicating that you are into
"mousemode". In this mode you can move and resize your windows as if
MODKEY was pressed.
I have also added a new action to Button4 or 5 (the mouse wheel) to
togglefloat the sel client. Don't know why it doesn't work with
MODKEY. Any ideas? (it is not needed, but it seems strange).
Other change is the posibility of togglefloat when in floatmode (it's
indicated with an empty square in the title), useful if you open a
window while in float and you dont want to resize it when you go back
to tiled mode, just to make it floating again.
The patch adds 10 loc to dwm. I'd like to know your comments, and
please take in count that it hasn't been tested a lot.

Greetingssssss,

-- 
- yiyus || JGL .

Received on Wed Jan 03 2007 - 22:00:26 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:34:11 UTC