[xmonad] Floating window with respected size hint (xmonad 0.10)
Brandon Allbery
allbery.b at gmail.com
Tue Oct 16 16:47:14 CEST 2012
On Tue, Oct 16, 2012 at 7:13 AM, Daniel Trstenjak <
daniel.trstenjak at gmail.com> wrote:
> main = xmonad $ defaultConfig {manageHook = composeAll [className =?
> "xclock" --> doFloat]}
>
Class names almost always start with an uppercase letter; this is "always"
for Xt-based stuff like xclock. so your rule doesn't match. Use "Xclock"
instead of "xclock".
(For historical reasons, WM_CLASS is not a list of classes, it is a list of
[appName, className]. Always use the second string reported by "xprop
WM_CLASS". Or see the window properties script in xmonad-contrib's scripts
directory.)
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix/linux, openafs, kerberos, infrastructure http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20121016/3484ce40/attachment.htm>
More information about the xmonad
mailing list