Merge pull request #3918 from orestisfl/fno-common

Fix fno-common problems with gcc10
This commit is contained in:
Michael Stapelberg
2020-02-15 12:25:58 +01:00
committed by GitHub
16 changed files with 28 additions and 15 deletions

View File

@ -93,6 +93,11 @@ bool shape_supported = true;
bool force_xinerama = false;
/* Define all atoms as global variables */
#define xmacro(atom) xcb_atom_t A_##atom;
#include "atoms.xmacro"
#undef xmacro
/*
* This callback is only a dummy, see xcb_prepare_cb.
* See also man libev(3): "ev_prepare" and "ev_check" - customise your event loop

View File

@ -14,8 +14,6 @@
#define MAX(x, y) ((x) > (y) ? (x) : (y))
#endif
xcb_window_t ewmh_window;
/* Stores the X11 window ID of the currently focused window */
xcb_window_t focused_id = XCB_NONE;