comparison src/video/x11/SDL_x11window.c @ 5185:073b86030262

Added the X11 framebuffer implementation. Simple! :)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Feb 2011 18:05:20 -0800
parents 455bc74f7034
children 227d81a4b66c
comparison
equal deleted inserted replaced
5184:d2652aafafbb 5185:073b86030262
174 if (attrib.map_state != IsUnmapped) { 174 if (attrib.map_state != IsUnmapped) {
175 window->flags |= SDL_WINDOW_SHOWN; 175 window->flags |= SDL_WINDOW_SHOWN;
176 } else { 176 } else {
177 window->flags &= ~SDL_WINDOW_SHOWN; 177 window->flags &= ~SDL_WINDOW_SHOWN;
178 } 178 }
179 data->visual = attrib.visual;
179 } 180 }
180 181
181 { 182 {
182 Atom _NET_WM_STATE = data->videodata->_NET_WM_STATE; 183 Atom _NET_WM_STATE = data->videodata->_NET_WM_STATE;
183 Atom _NET_WM_STATE_MAXIMIZED_VERT = data->videodata->_NET_WM_STATE_MAXIMIZED_VERT; 184 Atom _NET_WM_STATE_MAXIMIZED_VERT = data->videodata->_NET_WM_STATE_MAXIMIZED_VERT;