summaryrefslogtreecommitdiff
path: root/plugins/placement/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/placement/history.c')
-rw-r--r--plugins/placement/history.c2
1 files changed, 1 insertions, 1 deletions
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) {