[dwm] dwm-rpmohn-0.8.diff

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Thu, 10 Aug 2006 23:28:31 -0400

Attached is my personal patch set for the dwm-0.8 source code. The
modified
functionality, described below, was acheived by simplifying the
togglemax()
function and replacing the dofloat() and dotile() functions with a
single
dolayout() function.

MODIFICATIONS:

* togglemax (MODKEY-m) works differently. Instead applying to a single
client
and only while that client has focus, it applies to all clients within
the
current tag view and remains in effect until you toggle it off. Reverse
colors
in the status bar now means the tag view is in max layout. The layout of
each
specific tag view is independent of all the other tag views. In
addition, you
specify the startup layout for each tag view within your config.h file
(False
for tiled and True for maxed). Look at the new tags[] definition in
config.default.h.

* togglemode (MODKEY-space) works differently. Instead of applying to
every
client on every tag of the wm, it applies only to the currently focused
client.
Floating clients are now always on top of managed clients. You can also
now use
this toggle to put transient, pop-up, or even rule-based floating
clients into
the tiled or maxed layout. Floating clients are not affected by
togglemax.
Remove the #define for DEFMODE from your config.h as it isn't used with
this
patch set.

* Clicks on the status bar to the right of the tab boxes now change the
client
focus. A left-click (Button1) calls focusnext and any other button calls
focusprev.

* MODKEY-Button1 (instead of 2) to zoom a client. Remove Button4 and
Button5
functionality.

USAGE:

# patch <dwm-rpmohn-0.8.diff
Then configure and compile as usual.

TODO:

 - Fix status text when viewnext/prev from a maxed to a tiled.
 - These have to do with the ordering within the clients chain: When
changing
   focus between several floating clients, change who's on top. When
closing a
   pop-up window, should go back to the same maxed client
 - Change max layout to stack layout? Maybe not, I'm growing to like
max
   layout!

CHANGELOG:
 - Fixed bug so floating clients are now always on top of managed
clients.
 - Added feature to left-click on status bar (not in tags) to call
focusnext
   and right-click to call focusprev.
 - Pulled pop code out of zoom() and made it a static function.
 - Fixed several more of my own bugs!
 - Use MODKEY-Button1 (instead of 2) to zoom a client and remove code
for
   Button4 & 5 to change views (I don't have a mouse with Button 4 &
5!)

Received on Fri Aug 11 2006 - 05:28:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:04 UTC