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/popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/popup.c') diff --git a/openbox/popup.c b/openbox/popup.c index 21beda58..d9a52145 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -41,7 +41,7 @@ ObPopup *popup_new(void) self->iconwm = self->iconhm = 1; attrib.override_redirect = True; - self->bg = XCreateWindow(obt_display, RootWindow(obt_display, ob_screen), + self->bg = XCreateWindow(obt_display, obt_root(ob_screen), 0, 0, 1, 1, 0, RrDepth(ob_rr_inst), InputOutput, RrVisual(ob_rr_inst), CWOverrideRedirect, &attrib); -- cgit v1.2.3