From 73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 Jan 2008 09:56:59 -0500 Subject: make an obt_root() macro --- openbox/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index 9986015c..0558c8d4 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -165,8 +165,8 @@ void client_set_list(void) } else windows = NULL; - OBT_PROP_SETA32(RootWindow(obt_display, ob_screen), - NET_CLIENT_LIST, WINDOW, (gulong*)windows, size); + OBT_PROP_SETA32(obt_root(ob_screen), NET_CLIENT_LIST, WINDOW, + (gulong*)windows, size); if (windows) g_free(windows); @@ -1298,7 +1298,7 @@ void client_update_transient_for(ObClient *self) /* Setting the transient_for to Root is actually illegal, however applications from time have done this to specify transient for their group */ - if (!target && self->group && t == RootWindow(obt_display, ob_screen)) + if (!target && self->group && t == obt_root(ob_screen)) trangroup = TRUE; } else if (self->group && self->transient) trangroup = TRUE; -- cgit v1.2.3