hw/xwin: Clarify an if statement mixed with ifdef in winSetEngine()
Use the same pattern as elsewhere so it's a bit clearer what we are checking Signed-off-by: Ryan Pavlik <rpavlik@iastate.edu> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
5c35dd7be7
commit
b907079596
|
@ -192,15 +192,12 @@ winSetEngine (ScreenPtr pScreen)
|
||||||
|
|
||||||
/* ShadowGDI is the only engine that supports Multi Window Mode */
|
/* ShadowGDI is the only engine that supports Multi Window Mode */
|
||||||
if (
|
if (
|
||||||
#ifdef XWIN_MULTIWINDOWEXTWM
|
|
||||||
pScreenInfo->fMWExtWM
|
|
||||||
#else
|
|
||||||
FALSE
|
FALSE
|
||||||
|
#ifdef XWIN_MULTIWINDOWEXTWM
|
||||||
|
|| pScreenInfo->fMWExtWM
|
||||||
#endif
|
#endif
|
||||||
#ifdef XWIN_MULTIWINDOW
|
#ifdef XWIN_MULTIWINDOW
|
||||||
|| pScreenInfo->fMultiWindow
|
|| pScreenInfo->fMultiWindow
|
||||||
#else
|
|
||||||
|| FALSE
|
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user