]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
make an obt_root() macro
[chaz/openbox] / openbox / focus.c
index 21e2594556d78f478a7961efcffc1d8d3849b43d..7105aa41cd6022d23992d19d77a94ef0a748bd1f 100644 (file)
@@ -91,8 +91,7 @@ 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;
-        OBT_PROP_SET32(RootWindow(obt_display, ob_screen),
-                       NET_ACTIVE_WINDOW, WINDOW, active);
+        OBT_PROP_SET32(obt_root(ob_screen), NET_ACTIVE_WINDOW, WINDOW, active);
     }
 }
 
This page took 0.019578 seconds and 4 git commands to generate.