(x11_common.c) Cleanups

This commit is contained in:
twinaphex 2016-12-04 03:39:51 +01:00
parent 76304fd29d
commit 2f171c4b5d
1 changed files with 6 additions and 6 deletions

View File

@ -41,21 +41,21 @@ static unsigned int dbus_screensaver_cookie = 0;
#endif #endif
static bool xdg_screensaver_available = true; static bool xdg_screensaver_available = true;
bool g_x11_entered = false;
static bool g_x11_has_focus = false;
static bool g_x11_true_full = false;
Display *g_x11_dpy = NULL;
Colormap g_x11_cmap; Colormap g_x11_cmap;
Window g_x11_win; Window g_x11_win;
Display *g_x11_dpy;
static Atom XA_NET_WM_STATE; static Atom XA_NET_WM_STATE;
static Atom XA_NET_WM_STATE_FULLSCREEN; static Atom XA_NET_WM_STATE_FULLSCREEN;
static Atom XA_NET_MOVERESIZE_WINDOW; static Atom XA_NET_MOVERESIZE_WINDOW;
static Atom g_x11_quit_atom; static Atom g_x11_quit_atom;
static bool g_x11_has_focus;
static XIM g_x11_xim; static XIM g_x11_xim;
static XIC g_x11_xic; static XIC g_x11_xic;
static bool g_x11_true_full;
bool g_x11_entered = false;
unsigned g_x11_screen; unsigned g_x11_screen;
@ -563,7 +563,7 @@ bool x11_alive(void *data)
while (XPending(g_x11_dpy)) while (XPending(g_x11_dpy))
{ {
bool filter; bool filter = false;
/* Can get events from older windows. Check this. */ /* Can get events from older windows. Check this. */
XNextEvent(g_x11_dpy, &event); XNextEvent(g_x11_dpy, &event);