diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-15 03:21:50 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-15 03:21:50 +0000 |
| commit | 4185168f9df50c724cd3e68af6740572c187b1ae (patch) | |
| tree | 86cf958e4ce032dd8e1c0a8aa7d8768f0df73bfb /openbox | |
| parent | e3e850b718a429bef8fc0c007ce97ebd676f4b9c (diff) | |
dont use continue
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/place.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/openbox/place.c b/openbox/place.c index 4987b171..664c094d 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -151,9 +151,8 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y) for (it = list; it; it = g_list_next(it)) { ObClient *c = it->data; - if (c == client || c->shaded || !client_normal(c)) - continue; - spaces = area_remove(spaces, &c->frame->area); + if (c != client && !c->shaded && !client_normal(c)) + spaces = area_remove(spaces, &c->frame->area); } spaces = g_slist_sort(spaces, area_cmp); |
