diff options
Diffstat (limited to 'plugins/placement')
| -rw-r--r-- | plugins/placement/history.c | 4 | ||||
| -rw-r--r-- | plugins/placement/placement.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/placement/history.c b/plugins/placement/history.c index 797aef3b..f2b4ea63 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -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) { diff --git a/plugins/placement/placement.c b/plugins/placement/placement.c index 589e0a30..b567e229 100644 --- a/plugins/placement/placement.c +++ b/plugins/placement/placement.c @@ -30,7 +30,7 @@ static void place_random(Client *c) int x, y; Rect *area; - if (ob_state == State_Starting) return; + if (ob_state == OB_STATE_STARTING) return; area = screen_area_monitor(c->desktop, g_random_int_range(0, screen_num_monitors)); @@ -46,7 +46,7 @@ static void place_random(Client *c) else y = 0; frame_frame_gravity(c->frame, &x, &y); /* get where the client should be */ - client_configure(c, Corner_TopLeft, x, y, c->area.width, c->area.height, + client_configure(c, OB_CORNER_TOPLEFT, x, y, c->area.width, c->area.height, TRUE, TRUE); } |
