mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(x11_common.c) Cleanups
This commit is contained in:
parent
76304fd29d
commit
2f171c4b5d
@ -40,22 +40,22 @@ static DBusConnection* dbus_connection = NULL;
|
||||
static unsigned int dbus_screensaver_cookie = 0;
|
||||
#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;
|
||||
Window g_x11_win;
|
||||
Display *g_x11_dpy;
|
||||
|
||||
static Atom XA_NET_WM_STATE;
|
||||
static Atom XA_NET_WM_STATE_FULLSCREEN;
|
||||
static Atom XA_NET_MOVERESIZE_WINDOW;
|
||||
|
||||
static Atom g_x11_quit_atom;
|
||||
static bool g_x11_has_focus;
|
||||
static XIM g_x11_xim;
|
||||
static XIC g_x11_xic;
|
||||
static bool g_x11_true_full;
|
||||
bool g_x11_entered = false;
|
||||
|
||||
unsigned g_x11_screen;
|
||||
|
||||
@ -563,7 +563,7 @@ bool x11_alive(void *data)
|
||||
|
||||
while (XPending(g_x11_dpy))
|
||||
{
|
||||
bool filter;
|
||||
bool filter = false;
|
||||
|
||||
/* Can get events from older windows. Check this. */
|
||||
XNextEvent(g_x11_dpy, &event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user