diff options
Diffstat (limited to 'obt')
| -rw-r--r-- | obt/display.h | 2 | ||||
| -rw-r--r-- | obt/prop.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/obt/display.h b/obt/display.h index 5626f268..8c074b5b 100644 --- a/obt/display.h +++ b/obt/display.h @@ -61,6 +61,8 @@ void obt_display_close(); void obt_display_ignore_errors(gboolean ignore); +#define obt_root(screen) (RootWindow(obt_display, screen)) + G_END_DECLS #endif /*__obt_display_h*/ @@ -468,7 +468,7 @@ void obt_prop_message(gint screen, Window about, Atom messagetype, glong data0, glong data1, glong data2, glong data3, glong data4, glong mask) { - obt_prop_message_to(RootWindow(obt_display, screen), about, messagetype, + obt_prop_message_to(obt_root(screen), about, messagetype, data0, data1, data2, data3, data4, mask); } |
