radrow
radrow

Reputation: 7129

How to prevent all windows from floating (xmonad)

In my system, xmonad floating windows are extremely buggy. Sometimes they appear out of the screen, under main windows. They may rapidly activate and deactivate, making xmonad freeze. Or they may just be impossible to click on. How do I force every window to appear as normal? That is to say, to disable floating entirely.

I don't know Haskell or any other functional language, so I would like a solution that is easy to implement.

Upvotes: 3

Views: 1487

Answers (2)

radrow
radrow

Reputation: 7129

Ok, I've found solution for it. I was required to

import XMonad.Actions.SinkAll

and (e.g.) add keybinding for sinkAll

(...) `additionalKeys`
[
((mod4Mask .|. shiftMask, xK_f), sinkAll)
]

Now when I press mod+shift+f every floating window turn normal

Upvotes: 0

deshtop
deshtop

Reputation: 745

None of my windows floats per default (I recall vaguely that gimp might be an exception here, and floats per default, but maybe I'm wrong). Also I think floating windows should never be "under" tiled windows (but maybe a floating window is "over" another floating or tiling window). If you've got a floating window and you want it to "appear as normal" press mod-t. Still, I'm wondering why your windows float - did you hold mod while dragging the window with the mouse?

I can't help it ;)

Upvotes: 1

Related Questions