summaryrefslogtreecommitdiff
path: root/openbox/popup.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-31 09:56:59 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 12:25:31 -0500
commit73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 (patch)
tree35660084d3a6bdb0e7cb889f8b942b101775abf3 /openbox/popup.c
parentec3a4e3404d0bd07f0e99e49dc08d0bd148adbeb (diff)
make an obt_root() macro
Diffstat (limited to 'openbox/popup.c')
-rw-r--r--openbox/popup.c2
1 files changed, 1 insertions, 1 deletions
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);