3

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.

sclv
  • 38,665
  • 7
  • 99
  • 204
radrow
  • 6,419
  • 4
  • 26
  • 53

2 Answers2

1

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 ;)

deshtop
  • 745
  • 5
  • 15
  • But for example "saving" windows under ctrl+s are defaultly floating, aren't they? – radrow Mar 08 '16 at 18:39
  • @Ikciwor With firefox yes, sorry, I don't use that often. Do they really appear "behind" nonfloating windows? – deshtop Mar 09 '16 at 20:33
0

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

radrow
  • 6,419
  • 4
  • 26
  • 53
  • 1
    Bit of a nitpick but I don't feel this answers the question, it's a workaround. Have you possible found a solution that does this automatically? – Chris Stryczynski May 02 '17 at 17:59
  • @ChrisStryczynski I moved from xmonad to i3, so I have not worked with it for some time. Maybe you should add a hook to every window – radrow May 05 '17 at 11:09