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/focus.c | |
| parent | ec908528cf2abad9d2b968db9c8f7287ef5f54fe (diff) | |
remove the ob_root var, its redundant of what Xlib already provides
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 3927272c..6177bc9a 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -96,7 +96,8 @@ void focus_set_client(ObClient *client) /* set the NET_ACTIVE_WINDOW hint, but preserve it on shutdown */ if (ob_state != OB_STATE_EXITING) { active = client ? client->window : None; - PROP_SET32(ob_root, net_active_window, window, active); + PROP_SET32(RootWindow(ob_display, ob_screen), + net_active_window, window, active); } if (focus_client != NULL) |
