Re: [dev] [patch] map new window *after* arrange()

From: Peter Hartlich <bqdps_AT_hartlich.com>
Date: Sun, 10 Jul 2011 04:16:25 +0200

> just one annoying issue with floating apps. eg. running save as in gimp,
> will open a window in the background.

Oh man, sorry. I should've tested it more with floating windows.

So arrange calls arrangemon, which calls restack, but the new floating
window hasn't become selmon->sel yet.

Restacking again at the end of manage fixes it, but then there's
another redraw. To prevent the first restack, maybe something like
the attached patch? Or split off (un)select functions from (un)focus,
which also came up in connection to virtual keyboards some time ago.

Regards,
Peter

Received on Sun Jul 10 2011 - 04:16:25 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 10 2011 - 04:24:03 CEST