diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 19:06:00 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 19:06:00 +0000 |
| commit | bddbe9432837edccc67b76f2d29d4dbc9b02203f (patch) | |
| tree | 3c895659fe273a6562c4ffaff76d0b298ae27059 /openbox/focus.c | |
| parent | 35418ca0fcd3fd28ef579f4435b8bad3b7c87f04 (diff) | |
make ob_state a function so it cant be changed outside of openbox.c
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 6177bc9a..0285f40d 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -94,7 +94,7 @@ void focus_set_client(ObClient *client) push_to_top(client); /* set the NET_ACTIVE_WINDOW hint, but preserve it on shutdown */ - if (ob_state != OB_STATE_EXITING) { + if (ob_state() != OB_STATE_EXITING) { active = client ? client->window : None; PROP_SET32(RootWindow(ob_display, ob_screen), net_active_window, window, active); |
