view src/video/photon/Makefile.am @ 860:2bac79e27868

Create a 2D window and then manually focus a different window on your desktop, call SDL_PumpEvents() so the X11 driver sets its this->hidden->switch_waiting, then set a fullscreen OpenGL window (which makes the X11 driver tear down and create a new window instead of just resizing the existing one), poll for events, and the newly-created window will think it needs to pop back to a window. Fixed by resetting switch_waiting to zero if X11_CreateWindow() had to tear down a previous window.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 26 Feb 2004 15:12:51 +0000
parents e4af2c852c09
children 4ab6d1fd028f
line wrap: on
line source


## Makefile.am for SDL using the QNX Photon video driver

noinst_LTLIBRARIES = libvideo_photon.la
libvideo_photon_la_SOURCES = $(PH_SRCS)

# The SDL QNX Photon video driver sources
PH_SRCS = 			\
	SDL_ph_events.c		\
	SDL_ph_events_c.h	\
	SDL_ph_image.c		\
	SDL_ph_image_c.h	\
	SDL_ph_modes.c		\
	SDL_ph_modes_c.h	\
	SDL_ph_mouse.c		\
	SDL_ph_mouse_c.h	\
	SDL_ph_video.c		\
	SDL_ph_video.h		\
	SDL_ph_wm.c		\
	SDL_ph_wm_c.h		\
	SDL_phyuv.c		\
	SDL_phyuv_c.h