[dev] [dwm] Wrong monitor positions after removing leftmost monitor

From: Santtu Lakkala <inz_AT_inz.fi>
Date: Wed, 16 Feb 2022 16:57:27 +0200

Hi,

there is an annoyance with dwm where it does not re-adjust monitor
positions upon screen removal, and if the leftmost screen is removed
some or all windows may be placed outside the viewable area. (The bug
can be worked around by first moving the screen to the right side and
remove only after that, but I always forget to do that :)

The attached patch removes some ifs to adjust monitor coordinates also
in the removal case.

-- 
Santtu Lakkala

Received on Wed Feb 16 2022 - 15:57:27 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 16 2022 - 22:12:09 CET