Remove unused variables and functions
This commit is contained in:
@@ -48,7 +48,6 @@ int xi2flides[2] = { 0, 0 };
|
||||
|
||||
static Display* disp = nullptr;
|
||||
static QThread* procThread = nullptr;
|
||||
static bool xi2childinit = false;
|
||||
static XIEventMask ximask;
|
||||
static std::atomic<bool> exitfromthread = false;
|
||||
static std::atomic<double> xi2_mouse_x = 0, xi2_mouse_y = 0, xi2_mouse_abs_x = 0, xi2_mouse_abs_y = 0;
|
||||
@@ -106,7 +105,6 @@ void xinput2_proc()
|
||||
if (XGetEventData(disp, cookie) && cookie->type == GenericEvent && cookie->extension == xi2opcode) {
|
||||
switch (cookie->evtype) {
|
||||
case XI_RawMotion: {
|
||||
static int ss = 0;
|
||||
const XIRawEvent *rawev = (const XIRawEvent*)cookie->data;
|
||||
double relative_coords[2] = { 0., 0. };
|
||||
parse_valuators(rawev->raw_values,rawev->valuators.mask,
|
||||
|
||||
Reference in New Issue
Block a user