Refactor extern definition of conn and root_screen
This commit is contained in:
@ -8,8 +8,6 @@
|
||||
#include "libi3.h"
|
||||
#include <math.h>
|
||||
|
||||
extern xcb_screen_t *root_screen;
|
||||
|
||||
/*
|
||||
* Convert a logical amount of pixels (e.g. 2 pixels on a “standard” 96 DPI
|
||||
* screen) to a corresponding amount of physical pixels on a standard or retina
|
||||
|
@ -19,9 +19,6 @@
|
||||
|
||||
#include "libi3.h"
|
||||
|
||||
extern xcb_connection_t *conn;
|
||||
extern xcb_screen_t *root_screen;
|
||||
|
||||
static const i3Font *savedFont = NULL;
|
||||
|
||||
#if PANGO_SUPPORT
|
||||
|
@ -12,8 +12,6 @@
|
||||
|
||||
#include "libi3.h"
|
||||
|
||||
extern xcb_connection_t *conn;
|
||||
|
||||
/*
|
||||
* All-in-one function which returns the modifier mask (XCB_MOD_MASK_*) for the
|
||||
* given keysymbol, for example for XCB_NUM_LOCK (usually configured to mod2).
|
||||
|
Reference in New Issue
Block a user