mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-16 00:19:55 +00:00
dix: when a window disappears, remove it from the touch sprite trace
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
parent
c18a173cf5
commit
8e58ce73c8
3 changed files with 41 additions and 2 deletions
|
|
@ -131,6 +131,7 @@ Equipment Corporation.
|
|||
|
||||
#include "privates.h"
|
||||
#include "xace.h"
|
||||
#include "exevents.h"
|
||||
|
||||
#include <X11/Xatom.h> /* must come after server includes */
|
||||
|
||||
|
|
@ -2971,8 +2972,10 @@ UnmapWindow(WindowPtr pWin, Bool fromConfigure)
|
|||
if (!fromConfigure && pScreen->PostValidateTree)
|
||||
(*pScreen->PostValidateTree)(pLayerWin->parent, pWin, VTUnmap);
|
||||
}
|
||||
if (wasRealized && !fromConfigure)
|
||||
if (wasRealized && !fromConfigure) {
|
||||
WindowsRestructured ();
|
||||
WindowGone(pWin);
|
||||
}
|
||||
return Success;
|
||||
}
|
||||
|
||||
|
|
@ -3055,8 +3058,10 @@ UnmapSubwindows(WindowPtr pWin)
|
|||
if (anyMarked && pScreen->PostValidateTree)
|
||||
(*pScreen->PostValidateTree)(pLayerWin->parent, pHead, VTUnmap);
|
||||
}
|
||||
if (wasRealized)
|
||||
if (wasRealized) {
|
||||
WindowsRestructured ();
|
||||
WindowGone(pWin);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue