mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
treewide: fix misleading firstScreen variable naming to masterScreen
Follow-up on renaming dixGetFirstScreenPtr() to dixGetMasterScreen(): also rename the target variables for correct technical terminology. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
b0ffa7b286
commit
358f76f2ad
@@ -257,8 +257,8 @@ winRestoreModeKeyStates(void)
|
||||
|
||||
/* Only process events if the rootwindow is mapped. The keyboard events
|
||||
* will cause segfaults otherwise */
|
||||
ScreenPtr firstScreen = dixGetMasterScreen();
|
||||
if (firstScreen->root && firstScreen->root->mapped == FALSE)
|
||||
ScreenPtr masterScreen = dixGetMasterScreen();
|
||||
if (masterScreen->root && masterScreen->root->mapped == FALSE)
|
||||
processEvents = FALSE;
|
||||
|
||||
/* Force to process all pending events in the mi event queue */
|
||||
|
||||
@@ -58,9 +58,7 @@ winMsgWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
has set the DE_TERMINATE flag so exits the msg dispatch loop.
|
||||
*/
|
||||
{
|
||||
ScreenPtr pScreen = dixGetMasterScreen();
|
||||
|
||||
winScreenPriv(pScreen);
|
||||
winScreenPriv(dixGetMasterScreen());
|
||||
PostMessage(pScreenPriv->hwndScreen, WM_GIVEUP, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user