summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 19:06:00 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 19:06:00 +0000
commitbddbe9432837edccc67b76f2d29d4dbc9b02203f (patch)
tree3c895659fe273a6562c4ffaff76d0b298ae27059 /openbox/event.c
parent35418ca0fcd3fd28ef579f4435b8bad3b7c87f04 (diff)
make ob_state a function so it cant be changed outside of openbox.c
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index d80f755c..6d74a27d 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -650,7 +650,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
break;
case EnterNotify:
if (client_normal(client)) {
- if (ob_state == OB_STATE_STARTING) {
+ if (ob_state() == OB_STATE_STARTING) {
/* move it to the top of the focus order */
guint desktop = client->desktop;
if (desktop == DESKTOP_ALL) desktop = screen_desktop;