don't change stacking stuff on windows when moving them during the unmanage phase.
This commit is contained in:
parent
197ee0ad47
commit
a16449adb6
1 changed files with 10 additions and 5 deletions
|
@ -3128,11 +3128,16 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
|
||||||
/* if it moved between monitors, then this can affect the stacking
|
/* if it moved between monitors, then this can affect the stacking
|
||||||
layer of this window or others - for fullscreen windows.
|
layer of this window or others - for fullscreen windows.
|
||||||
also if it changed to/from oldschool fullscreen then its layer may
|
also if it changed to/from oldschool fullscreen then its layer may
|
||||||
change */
|
change
|
||||||
if (screen_find_monitor(&self->frame->area) !=
|
|
||||||
screen_find_monitor(&oldframe) ||
|
watch out tho, don't try change stacking stuff if the window is no
|
||||||
(final && (client_is_oldfullscreen(self, &oldclient) !=
|
longer being managed !
|
||||||
client_is_oldfullscreen(self, &self->area))))
|
*/
|
||||||
|
if (self->managed &&
|
||||||
|
(screen_find_monitor(&self->frame->area) !=
|
||||||
|
screen_find_monitor(&oldframe) ||
|
||||||
|
(final && (client_is_oldfullscreen(self, &oldclient) !=
|
||||||
|
client_is_oldfullscreen(self, &self->area)))))
|
||||||
{
|
{
|
||||||
client_calc_layer(self);
|
client_calc_layer(self);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue