]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
make ob_state a function so it cant be changed outside of openbox.c
[chaz/openbox] / openbox / event.c
index d80f755c11212fca6420ecbbcbda987dc204c738..6d74a27d2eb15f4f923667080d0463615cf410a2 100644 (file)
@@ -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;
This page took 0.020016 seconds and 4 git commands to generate.