]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
remove the ob_root var, its redundant of what Xlib already provides
[chaz/openbox] / openbox / focus.c
index 3927272c5b6cabad247bff0339c1bca1a147d99e..6177bc9a68455946c1557cd0a9ba42572cc6cd8f 100644 (file)
@@ -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)
This page took 0.024928 seconds and 4 git commands to generate.