X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fplacement%2Fhistory.c;h=eeff1f63f39a976cf2b143e2a7dfe5fe20647a39;hb=bddbe9432837edccc67b76f2d29d4dbc9b02203f;hp=f2b4ea632a77790eadb57eb4592f55e91ff12c1d;hpb=276b2be581c6cb138b439537761ff2ca42201805;p=chaz%2Fopenbox diff --git a/plugins/placement/history.c b/plugins/placement/history.c index f2b4ea63..eeff1f63 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -49,7 +49,7 @@ static struct HistoryItem *history_find(const char *name, const char *class, return NULL; } -gboolean place_history(Client *c) +gboolean place_history(ObClient *c) { struct HistoryItem *hi; int x, y, w, h; @@ -58,7 +58,7 @@ gboolean place_history(Client *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) { @@ -90,7 +90,7 @@ gboolean place_history(Client *c) return FALSE; } -static void set_history(Client *c) +static void set_history(ObClient *c) { struct HistoryItem *hi;