Discussion:
[xmonad] Make floating window stick to screen
Jakob Schöttl
2016-03-28 15:13:41 UTC
Permalink
Hello,

I would like to have a floating window that keep staying on a certain
xinerama screen rather than a certain workspace.

Is it possible to implement this? Can I create a key binding to toggle
'stick to screen'.

In case I have to create my own event hook impl, how can I react on
workspace switching? And how can xmonad 'remember' the sticky window(s)?

Thank you!
Regards, Jakob
--
Jakob Schöttl
E-Mail: ***@gmail.com
PGP-Key: 0x25055C7F
Brandon Allbery
2016-03-28 16:42:50 UTC
Permalink
Post by Jakob Schöttl
I would like to have a floating window that keep staying on a certain
xinerama screen rather than a certain workspace.
XMonad.Actions.CopyWindow.copyToAll

Technically this puts it on all workspaces and therefore "all" screens. In
practice X11 only allows the window to be in one place at a time, so
whatever screen it's on when you copyToAll it is where it will stay.
--
brandon s allbery kf8nh sine nomine associates
***@gmail.com ***@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Loading...