mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-19 08:58:25 +02:00
drivers/modesetting: Save current BlockHandler on return in msBlockHandler
If the BlockHandler chain is modified while it is active, we need to re-fetch the current value and store it in our private for use the next time through. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b3e496c6d2
commit
3d12941b40
1 changed files with 1 additions and 0 deletions
|
|
@ -538,6 +538,7 @@ msBlockHandler(ScreenPtr pScreen, void *pTimeout, void *pReadmask)
|
|||
|
||||
pScreen->BlockHandler = ms->BlockHandler;
|
||||
pScreen->BlockHandler(pScreen, pTimeout, pReadmask);
|
||||
ms->BlockHandler = pScreen->BlockHandler;
|
||||
pScreen->BlockHandler = msBlockHandler;
|
||||
if (pScreen->isGPU)
|
||||
dispatch_slave_dirty(pScreen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue