[Xmonad] [patch] size hints

Peter De Wachter pdewacht at gmail.com
Tue May 1 06:36:14 EDT 2007


This patch makes xmonad obey (some) size hints set by clients, for
example the aspect ratio hint set by mplayer. I also implemented the
max size and size increment hints, as some clients seem to get
confused if their window is "too large" (for example Xephyr).

Problems with this patch:
- The hints are retrieved every wm operation, which could hurt over a
  slow link. They should be cached (and xmonad should listen to
  property events)
- The code is not integrated in the layout algorithm, which results in
  ugly gaps between windows.
- Too many lines of code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmonad-sizehints.patch
Type: application/octet-stream
Size: 5560 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20070501/dd4acfcb/xmonad-sizehints.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: X11-extras-bind-XGetWMNormalHints.patch
Type: application/octet-stream
Size: 4563 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20070501/dd4acfcb/X11-extras-bind-XGetWMNormalHints.obj


More information about the Xmonad mailing list