[dev] [patch] Xinerama bugfix + map new window *after* arrange(), again

From: Peter Hartlich <bqdps_AT_hartlich.com>
Date: Fri, 29 Jul 2011 19:15:42 +0200

So here's another go at mapping new windows after everything has
been arranged.

This time, floating windows are stacked correctly and there are
no flickers or redraws of the title bar or the new window. The
two patches add 8 short lines. Seems not too gross as an interim
solution.

The line "c->mon->sel = c;" also fixes a vanilla dwm bug on
Xinerama setups:

1. Focus a floating window w belonging to a client c
2. Focus another monitor with focusmon()
3. When c pops up a transient window w' on the unfocused monitor,
   w' is stacked behind w.

For testing, transient.c opens a floating window and then after
5 seconds a transient one.

Peter

Received on Fri Jul 29 2011 - 19:15:42 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 29 2011 - 19:24:03 CEST