ice-wm / icewm

IceWM releases only, see Wiki
https://github.com/ice-wm/icewm/releases
Other
289 stars 16 forks source link

KeySysTile per monitor? #152

Closed schance995 closed 10 months ago

schance995 commented 10 months ago

I find the KeySysTile shortcuts useful for a single monitor setup. But on multi-monitor setups, all the visible windows will move to the monitor of the focused window.

Is it possible to tile only the windows on the focused monitor, leaving the windows on other monitors unchanged?

gijsbers commented 10 months ago

Not currently. IceWM was designed when multi-monitor setups were very rare, so this has to be added.

gijsbers commented 10 months ago

I made a change. If you want you can test it.

schance995 commented 10 months ago

I tried the patch, it works when all the windows are on one monitor, or when tiling only 1 monitor. But it crashes often, for example:

  1. Put 1 xterm window on 2 monitors
  2. Tile one monitor. The window is tiled correctly.
  3. Tile the other monitor. Crashes reliably.
gijsbers commented 10 months ago

This should fix the crash. Thanks for testing. KeySysTile.txt

schance995 commented 10 months ago

Works perfectly, thanks for the commit!