x11: Use the default screen for X11 properties.

This commit restores the functionality originally included in 65e807
by Leszek Koltunski.
This commit is contained in:
Colin Guthrie 2010-09-18 11:12:56 +01:00
parent c0e045d003
commit f73e9c19f7
5 changed files with 96 additions and 70 deletions

View file

@ -27,8 +27,8 @@
#include <xcb/xcb.h>
void pa_x11_set_prop(xcb_connection_t *xcb, const char *name, const char *data);
void pa_x11_del_prop(xcb_connection_t *xcb, const char *name);
char* pa_x11_get_prop(xcb_connection_t *xcb, const char *name, char *p, size_t l);
void pa_x11_set_prop(xcb_connection_t *xcb, int screen, const char *name, const char *data);
void pa_x11_del_prop(xcb_connection_t *xcb, int screen, const char *name);
char* pa_x11_get_prop(xcb_connection_t *xcb, int screen, const char *name, char *p, size_t l);
#endif