X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fplace.c;h=f9da57629a39722db7c6d9a7e881ff3ec4809acc;hb=aa852556c0bc12e41a24da01df031d1eb886f9fa;hp=b56998b2208da636d5516fa926945f1a92837125;hpb=1aa9c7e95ef3da351a7459ed79cacd439db353e8;p=chaz%2Fopenbox diff --git a/openbox/place.c b/openbox/place.c index b56998b2..f9da5762 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -27,7 +27,8 @@ static Rect *pick_head(ObClient *c) { Rect *area = NULL; - gint i, px, py; + guint i; + gint px, py; /* try direct parent first */ if (c->transient_for && c->transient_for != OB_TRAN_GROUP) { @@ -220,7 +221,6 @@ typedef enum static gboolean place_smart(ObClient *client, gint *x, gint *y, ObSmartType type) { - guint i; gboolean ret = FALSE; GSList *spaces = NULL, *sit; GList *it; @@ -320,7 +320,6 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y, static gboolean place_under_mouse(ObClient *client, gint *x, gint *y) { - guint i; gint l, r, t, b; gint px, py; Rect *area;