comparison src/video/x11/SDL_x11video.h @ 4518:a956a315fe67

Lots of prep for the "real" way to support fullscreen mode on modern window managers. Unfortunately, this doesn't work. I also noticed that maximizing doesn't work as well. Also xprop hangs when trying to list properties of SDL windows.... ???
author Sam Lantinga <slouken@libsdl.org>
date Tue, 13 Jul 2010 23:11:10 -0700
parents 15d2c6f40c48
children 844b5ef4b149
comparison
equal deleted inserted replaced
4517:7b5e4396bcaa 4518:a956a315fe67
66 XIM im; 66 XIM im;
67 Uint32 screensaver_activity; 67 Uint32 screensaver_activity;
68 int numwindows; 68 int numwindows;
69 SDL_WindowData **windowlist; 69 SDL_WindowData **windowlist;
70 int windowlistlength; 70 int windowlistlength;
71
72 /* This is true for ICCCM2.0-compliant window managers */
73 SDL_bool net_wm;
74
75 /* Useful atoms */
71 Atom WM_DELETE_WINDOW; 76 Atom WM_DELETE_WINDOW;
77 Atom _NET_WM_STATE;
78 Atom _NET_WM_STATE_HIDDEN;
79 Atom _NET_WM_STATE_MAXIMIZED_VERT;
80 Atom _NET_WM_STATE_MAXIMIZED_HORZ;
81 Atom _NET_WM_STATE_FULLSCREEN;
82 Atom _NET_WM_NAME;
83 Atom _NET_WM_ICON_NAME;
84 Atom _NET_WM_ICON;
85 Atom UTF8_STRING;
86
72 SDL_scancode key_layout[256]; 87 SDL_scancode key_layout[256];
73 SDL_bool selection_waiting; 88 SDL_bool selection_waiting;
74 } SDL_VideoData; 89 } SDL_VideoData;
75 90
76 extern SDL_bool X11_UseDirectColorVisuals(void); 91 extern SDL_bool X11_UseDirectColorVisuals(void);