diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 19:01:41 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 19:01:41 +0000 |
| commit | 35418ca0fcd3fd28ef579f4435b8bad3b7c87f04 (patch) | |
| tree | 07182e5626a01baf752ec13a57d7ab3eabe8f967 /openbox/moveresize.c | |
| parent | ec908528cf2abad9d2b968db9c8f7287ef5f54fe (diff) | |
remove the ob_root var, its redundant of what Xlib already provides
Diffstat (limited to 'openbox/moveresize.c')
| -rw-r--r-- | openbox/moveresize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 97837295..96eac5cf 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -42,7 +42,9 @@ void moveresize_startup() popup_size_to_string(popup, "W: 0000 W: 0000"); attrib.save_under = True; - opaque_window.win = XCreateWindow(ob_display, ob_root, 0, 0, 1, 1, 0, + opaque_window.win = XCreateWindow(ob_display, + RootWindow(ob_display, ob_screen), + 0, 0, 1, 1, 0, RrDepth(ob_rr_inst), InputOutput, RrVisual(ob_rr_inst), CWSaveUnder, &attrib); |
