X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fplacement%2Fhistory.c;h=22dbb6e0e30649d1f32b506fec6e216015baee56;hb=a46b4ee4341dcf5c86b9182b5b970825f2e11692;hp=797aef3b8978606a3444b8095583b4c2be739b14;hpb=af8c5f51a5df9a092c8571ea3c50a965bb249d5a;p=chaz%2Fopenbox diff --git a/plugins/placement/history.c b/plugins/placement/history.c index 797aef3b..22dbb6e0 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 != State_Starting) { + if (ob_state != OB_STATE_STARTING) { if (hi->flags & HAVE_POSITION || hi->flags & HAVE_SIZE) { if (hi->flags & HAVE_POSITION) { @@ -77,7 +77,7 @@ gboolean place_history(Client *c) w = c->area.width; h = c->area.height; } - client_configure(c, Corner_TopLeft, x, y, w, h, + client_configure(c, OB_CORNER_TOPLEFT, x, y, w, h, TRUE, TRUE); } if (hi->flags & HAVE_DESKTOP) { @@ -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;