You are not logged in.

#1 2010-03-28 18:56:35

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

xmonad, insertPosition, and floating windows [SOLVED]

I have xmonad set up with the manage hook:

, manageHook         = insertPosition Below Newer <+> manageHook'

with manageHook' handling my floating windows. I find this set up to be far more intuitive than xmonad's default when tiling:

insertPosition Above Newer

My problem comes with the floating windows. For instance, with GIMP xmonad automatically floats the GTK file chooser and dialog boxes, but with my set up above it floats them in between the floating layer and the tiled layer. So, opening the file chooser always puts it under the image window and tool boxes. I tried adding:

, className =? "Gimp"            --> (insertPosition Above Newer <+> doFloat)

and the behavior doesn't change. I guess I could micro-manage all of the floaters by their roles, but this is only one application. Surely there's a generic way to handle this. And ideas?

Offline

#2 2010-06-09 02:31:51

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: xmonad, insertPosition, and floating windows [SOLVED]

*** Bump ***

This problem lies with composeAll. With a little bit of trickery with composeOne from XMonad.Hooks.ManageHelpers, everything is just splended.

Did I mention lately:

Long Live Xmonad!?!?!?!?

Offline

Board footer

Powered by FluxBB