get rid of X locks, there were missing glock/gunlock here and there

This commit is contained in:
Cedric Roux
2016-05-01 14:06:20 +02:00
parent 9463903d3a
commit 6ffa65f1d2
5 changed files with 21 additions and 27 deletions
-17
View File
@@ -6,23 +6,6 @@
#include <stdlib.h>
#include <string.h>
void x_init_threading(void)
{
if (XInitThreads() == False) abort();
}
void xlock(x_connection *_x)
{
struct x_connection *x = _x;
XLockDisplay(x->d);
}
void xunlock(x_connection *_x)
{
struct x_connection *x = _x;
XUnlockDisplay(x->d);
}
int x_connection_fd(x_connection *_x)
{
struct x_connection *x = _x;