diff options
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) |
