summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-02-27 20:45:47 +0100
committerDave Davenport <qball@gmpclient.org>2016-02-27 20:45:47 +0100
commita02cb83a98823c914659c29fee75fa5354a2c492 (patch)
tree6842b21e78d0f6a0c35976fde598615040593d09 /include
parent305829fcc841b41ef0441c6a7ea2ee845f66aa64 (diff)
Move more to xcb.
Diffstat (limited to 'include')
-rw-r--r--include/x11-helper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/x11-helper.h b/include/x11-helper.h
index d7855e6a..eabdc4bf 100644
--- a/include/x11-helper.h
+++ b/include/x11-helper.h
@@ -73,17 +73,17 @@ typedef struct
int l, r, t, b;
} workarea;
-void monitor_active ( Display *display, workarea *mon );
+void monitor_active ( xcb_connection_t *xcb_connection, workarea *mon );
int window_send_message ( Display *display, Window target, Window subject,
Atom atom, unsigned long protocol,
unsigned long mask, Time time );
// find the dimensions of the monitor displaying point x,y
-void monitor_dimensions ( Display *display, Screen *screen, int x, int y, workarea *mon );
+void monitor_dimensions ( xcb_connection_t *xcb_connection, xcb_screen_t *screen, int x, int y, workarea *mon );
// Find the dimensions of the monitor specified by user.
-int monitor_get_dimension ( Display *display, Screen *screen, int monitor, workarea *mon );
-int monitor_get_smallest_size ( Display *display );
+int monitor_get_dimension ( xcb_connection_t *xcb_connection, xcb_screen_t *screen, int monitor, workarea *mon );
+int monitor_get_smallest_size ( xcb_connection_t *xcb_connection );
/**
* @param display The display.