X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fplace.h;h=3bc679e0d536aa8227f4a1e15f7e7da1d9513288;hb=HEAD;hp=94e2dc0fb4d805b78890d419385eefe7a4edfd29;hpb=95535e86237e6c89935eb7563f37f13474c466f2;p=chaz%2Fopenbox diff --git a/openbox/place.h b/openbox/place.h index 94e2dc0f..3bc679e0 100644 --- a/openbox/place.h +++ b/openbox/place.h @@ -20,6 +20,8 @@ #ifndef ob__place_h #define ob__place_h +#include "geom.h" + #include struct _ObClient; @@ -39,7 +41,10 @@ typedef enum OB_PLACE_MONITOR_PRIMARY } ObPlaceMonitor; -gboolean place_client(struct _ObClient *client, gboolean foreground, - gint *x, gint *y, struct _ObAppSettings *settings); +/*! Return TRUE if openbox chose the position for the window, and FALSE if + the application chose it */ +gboolean place_client(struct _ObClient *client, + gboolean client_to_be_foregrounded, + Rect* client_area, struct _ObAppSettings *settings); #endif