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/focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/focus.c') 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) -- cgit v1.2.3