Refactor extern definition of conn and root_screen

This commit is contained in:
Alex Auvolat
2015-12-29 12:47:12 +01:00
parent bc126aaeaf
commit 19fd6817af
8 changed files with 7 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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).