Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11window.c @ 4520:0c67c4328678
Much better debugging of property changes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 14 Jul 2010 00:08:46 -0700 |
parents | a956a315fe67 |
children | 50125e8aab94 |
comparison
equal
deleted
inserted
replaced
4519:62d693e01a24 | 4520:0c67c4328678 |
---|---|
680 Atom _NET_WM_STATE = data->_NET_WM_STATE; | 680 Atom _NET_WM_STATE = data->_NET_WM_STATE; |
681 Atom _NET_WM_STATE_FULLSCREEN = data->_NET_WM_STATE_FULLSCREEN; | 681 Atom _NET_WM_STATE_FULLSCREEN = data->_NET_WM_STATE_FULLSCREEN; |
682 XEvent e; | 682 XEvent e; |
683 | 683 |
684 e.xany.type = ClientMessage; | 684 e.xany.type = ClientMessage; |
685 e.xclient.display = data->display; | |
686 e.xclient.window = w; | |
687 e.xclient.message_type = _NET_WM_STATE; | 685 e.xclient.message_type = _NET_WM_STATE; |
688 e.xclient.format = 32; | 686 e.xclient.format = 32; |
689 e.xclient.data.l[0] = _NET_WM_STATE_ADD; | 687 e.xclient.data.l[0] = _NET_WM_STATE_ADD; |
690 e.xclient.data.l[1] = _NET_WM_STATE_FULLSCREEN; | 688 e.xclient.data.l[1] = _NET_WM_STATE_FULLSCREEN; |
691 e.xclient.data.l[2] = 0l; | 689 e.xclient.data.l[2] = 0l; |
953 Atom _NET_WM_STATE_MAXIMIZED_VERT = data->videodata->_NET_WM_STATE_MAXIMIZED_VERT; | 951 Atom _NET_WM_STATE_MAXIMIZED_VERT = data->videodata->_NET_WM_STATE_MAXIMIZED_VERT; |
954 Atom _NET_WM_STATE_MAXIMIZED_HORZ = data->videodata->_NET_WM_STATE_MAXIMIZED_HORZ; | 952 Atom _NET_WM_STATE_MAXIMIZED_HORZ = data->videodata->_NET_WM_STATE_MAXIMIZED_HORZ; |
955 XEvent e; | 953 XEvent e; |
956 | 954 |
957 e.xany.type = ClientMessage; | 955 e.xany.type = ClientMessage; |
958 e.xclient.display = display; | |
959 e.xclient.window = data->xwindow; | |
960 e.xclient.message_type = _NET_WM_STATE; | 956 e.xclient.message_type = _NET_WM_STATE; |
961 e.xclient.format = 32; | 957 e.xclient.format = 32; |
962 e.xclient.data.l[0] = | 958 e.xclient.data.l[0] = |
963 maximized ? _NET_WM_STATE_ADD : _NET_WM_STATE_REMOVE; | 959 maximized ? _NET_WM_STATE_ADD : _NET_WM_STATE_REMOVE; |
964 e.xclient.data.l[1] = _NET_WM_STATE_MAXIMIZED_VERT; | 960 e.xclient.data.l[1] = _NET_WM_STATE_MAXIMIZED_VERT; |