Re: [hackers] [dwm][PATCH] Update monitor positions also on removal

2022-04-16 Thread Hiltjo Posthuma
On Sun, Apr 10, 2022 at 09:16:43AM +0300, Santtu Lakkala wrote: > On 9.4.2022 13.51, Hiltjo Posthuma wrote: > > I've heard similar reports with monitor plugging and unplugging not working > > nicely. > > > > Can someone test this patch and report back these conditions or if it > > improves

Re: [hackers] [dwm][PATCH] Update monitor positions also on removal

2022-04-10 Thread Santtu Lakkala
On 9.4.2022 13.51, Hiltjo Posthuma wrote: I've heard similar reports with monitor plugging and unplugging not working nicely. Can someone test this patch and report back these conditions or if it improves things? FWIW I've been using this change ever since I submitted it, and plug and

Re: [hackers] [dwm][PATCH] Update monitor positions also on removal

2022-04-09 Thread Hiltjo Posthuma
On Mon, Feb 21, 2022 at 04:58:28PM +0200, Santtu Lakkala wrote: > When monitors are removed, the coordinates of existing monitors may > change, if the removed monitors had smaller coordinates than the > remaining ones. > > Remove special case handling so that the same update-if-necessary loop >

[hackers] [dwm][PATCH] Update monitor positions also on removal

2022-02-21 Thread Santtu Lakkala
When monitors are removed, the coordinates of existing monitors may change, if the removed monitors had smaller coordinates than the remaining ones. Remove special case handling so that the same update-if-necessary loop is run also in the case when monitors are removed. --- dwm.c | 68