diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-31 09:56:59 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-31 12:25:31 -0500 |
| commit | 73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 (patch) | |
| tree | 35660084d3a6bdb0e7cb889f8b942b101775abf3 /openbox/focus.c | |
| parent | ec3a4e3404d0bd07f0e99e49dc08d0bd148adbeb (diff) | |
make an obt_root() macro
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 21e25945..7105aa41 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -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); } } |
