]> Dogcows Code - chaz/openbox/blobdiff - plugins/placement/history.c
make ob_state a function so it cant be changed outside of openbox.c
[chaz/openbox] / plugins / placement / history.c
index 22dbb6e0e30649d1f32b506fec6e216015baee56..eeff1f63f39a976cf2b143e2a7dfe5fe20647a39 100644 (file)
@@ -58,7 +58,7 @@ gboolean place_history(ObClient *c)
 
     if (hi && !(hi->flags & PLACED)) {
         hi->flags |= PLACED;
-        if (ob_state != OB_STATE_STARTING) {
+        if (ob_state() != OB_STATE_STARTING) {
             if (hi->flags & HAVE_POSITION ||
                 hi->flags & HAVE_SIZE) {
                 if (hi->flags & HAVE_POSITION) {
This page took 0.020518 seconds and 4 git commands to generate.