[client] x11: split out atoms into a seperate structure

This commit is contained in:
Geoffrey McRae
2021-03-27 10:05:57 +11:00
parent 2f14d64289
commit 84d4c18c48
6 changed files with 117 additions and 64 deletions

View File

@@ -22,6 +22,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
#include "common/thread.h"
#include "common/types.h"
@@ -50,14 +51,6 @@ struct X11DSState
Cursor blankCursor;
Cursor squareCursor;
Atom aNetReqFrameExtents;
Atom aNetFrameExtents;
Atom aNetWMState;
Atom aNetWMStateFullscreen;
Atom aNetWMWindowType;
Atom aNetWMWindowTypeNormal;
Atom aWMDeleteWindow;
// XFixes vars
int eventBase;
int errorBase;