[dev] [dwm] [patch] USPosition, USSize

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Tue, 9 Aug 2011 03:08:50 +0100

Hey,

I've recently been looking into dwm's window manager hints support.
I've just finished looking through all the ICCCM properties (next up
EWMH), and have found only one which dwm ought to support, but
doesn't: the WM_NORMAL_HINTS USPosition and USSize fields.

Basically these two fields state that the client's geometry has been
chosen specifically by the user, and the window manager ought to
respect that. But we don't, we just tile the window anyway. The
traditional X utilities all set this field when the user passes them
the '-geom' (or similar) flag, including xterm, rxvt, and so on.

I've attached a patch which adds support for these fields in updatesizehints().

Thanks,
cls

Received on Tue Aug 09 2011 - 04:08:50 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 09 2011 - 04:12:03 CEST