From 35418ca0fcd3fd28ef579f4435b8bad3b7c87f04 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 19:01:41 +0000 Subject: remove the ob_root var, its redundant of what Xlib already provides --- 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 ba1aed0b..cc4a605d 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -42,7 +42,7 @@ Popup *popup_new(gboolean hasicon) self->a_bg = self->a_icon = self->a_text = NULL; attrib.override_redirect = True; - self->bg = XCreateWindow(ob_display, ob_root, + self->bg = XCreateWindow(ob_display, RootWindow(ob_display, ob_screen), 0, 0, 1, 1, 0, RrDepth(ob_rr_inst), InputOutput, RrVisual(ob_rr_inst), CWOverrideRedirect, &attrib); -- cgit v1.2.3