X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fplacement%2Fhistory.c;h=eeff1f63f39a976cf2b143e2a7dfe5fe20647a39;hb=ea53850762b423f8cdbaa95aa69b6c413a65a7d9;hp=22dbb6e0e30649d1f32b506fec6e216015baee56;hpb=2477a38d2f3063b697e44bf3690cf280fb26ca8a;p=chaz%2Fopenbox diff --git a/plugins/placement/history.c b/plugins/placement/history.c index 22dbb6e0..eeff1f63 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -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) {