comparison src/video/SDL_sysvideo.h @ 3511:42cfa69e351b

On multi-display systems it's perfectly reasonable to have focus on a window on another monitor while the application is fullscreen.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 02 Dec 2009 07:38:28 +0000
parents 98a819296cdc
children e7eec78e4b92
comparison
equal deleted inserted replaced
3510:58cbfa81317a 3511:42cfa69e351b
145 void *driverdata; 145 void *driverdata;
146 }; 146 };
147 #define FULLSCREEN_VISIBLE(W) \ 147 #define FULLSCREEN_VISIBLE(W) \
148 (((W)->flags & SDL_WINDOW_FULLSCREEN) && \ 148 (((W)->flags & SDL_WINDOW_FULLSCREEN) && \
149 ((W)->flags & SDL_WINDOW_SHOWN) && \ 149 ((W)->flags & SDL_WINDOW_SHOWN) && \
150 ((W)->flags & SDL_WINDOW_INPUT_FOCUS) && \
151 !((W)->flags & SDL_WINDOW_MINIMIZED)) 150 !((W)->flags & SDL_WINDOW_MINIMIZED))
152 151
153 /* 152 /*
154 * Define the SDL display structure This corresponds to physical monitors 153 * Define the SDL display structure This corresponds to physical monitors
155 * attached to the system. 154 * attached to the system.