mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-29 17:00:36 +01:00
randr: Don't send output property events on server exit
If the Window resource type is already gone, there's no point in trying
to send events, all it can do is access already-freed memory.
Relevant thread:
http://lists.freedesktop.org/archives/xorg/2008-November/040443.html
(cherry picked from commit b0d371ab0a)
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
40116cd5d0
commit
f5ef57e5fe
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ DeliverPropertyEvent(WindowPtr pWin, void *value)
|
|||
|
||||
static void RRDeliverPropertyEvent(ScreenPtr pScreen, xEvent *event)
|
||||
{
|
||||
WalkTree(pScreen, DeliverPropertyEvent, event);
|
||||
if (!(dispatchException & (DE_RESET | DE_TERMINATE)))
|
||||
WalkTree(pScreen, DeliverPropertyEvent, event);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue