-
Committer:
Tarmac
-
Author(s):
Sam Spilsbury
-
Date:
2012-09-19 07:31:37 UTC
-
mfrom:
(3375.3.1 compiz)
-
Revision ID:
tarmac-20120919073137-r0qfahbyqk6bs1sx
Check the pending frame of the window when looking to see if it is a "toplevel" window. There was a case where calling updateAttributes on a just-reparented window which hadn't yet got the ReparentNotify event for its frame window would cause subsequent calls to reconfigureXWindow which want to restack relative to it to fail because that frame window wasn't marked as "existing" yet, so we would detect that case as restacking relative to an invalid window and prevent the restack request.. Fixes: https://bugs.launchpad.net/bugs/1052773. Approved by Daniel van Vugt, Brandon Schaefer, jenkins.