diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-10-16 12:39:05 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-10-16 12:39:38 +0100 |
commit | a935222f93562afd72c399a3dba401ba03aa9b4b (patch) | |
tree | 83ad68c710f497afca477489f197616425a45550 | |
parent | 180e1bc97926534128dd08803a99b1b16d7edf6a (diff) |
Small modification to blocking signals when switching modes.
(cherry picked from d430e76a161c963169067875c3654f5fd8f42b19 commit)
-rw-r--r-- | hw/xfree86/common/xf86Cursor.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/xfree86/common/xf86Cursor.c b/hw/xfree86/common/xf86Cursor.c index 8bb12ae33..dcdf46674 100644 --- a/hw/xfree86/common/xf86Cursor.c +++ b/hw/xfree86/common/xf86Cursor.c @@ -213,7 +213,6 @@ xf86SwitchMode(ScreenPtr pScreen, DisplayModePtr mode) ScreenPtr pCursorScreen; Bool Switched; int px, py; - int sigstate; if (!pScr->vtSema || !mode || !pScr->SwitchMode) return FALSE; @@ -233,10 +232,8 @@ xf86SwitchMode(ScreenPtr pScreen, DisplayModePtr mode) if (pScreen == pCursorScreen) miPointerPosition(&px, &py); - sigstate = xf86BlockSIGIO (); xf86EnterServerState(SETUP); Switched = (*pScr->SwitchMode)(pScr->scrnIndex, mode, 0); - xf86EnterServerState(OPERATING); if (Switched) { pScr->currentMode = mode; @@ -271,7 +268,7 @@ xf86SwitchMode(ScreenPtr pScreen, DisplayModePtr mode) pScr->frameY1 = pScr->virtualY - 1; } } - xf86UnblockSIGIO (sigstate); + xf86EnterServerState(OPERATING); if (pScr->AdjustFrame) (*pScr->AdjustFrame)(pScr->scrnIndex, pScr->frameX0, pScr->frameY0, 0); |