X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fplace.h;h=25df752c58ba8f02477b91cc1cc068dc3e779b32;hb=4d2ccf19168a4089a6a0de0109610479ec6d5507;hp=e2f1d4e40c405e540d2a7da89916165a2951433e;hpb=2442cdfd85e5229c7ee4ac49ca66a7d55ffcb919;p=chaz%2Fopenbox diff --git a/openbox/place.h b/openbox/place.h index e2f1d4e4..25df752c 100644 --- a/openbox/place.h +++ b/openbox/place.h @@ -28,10 +28,19 @@ struct _ObAppSettings; typedef enum { OB_PLACE_POLICY_SMART, - OB_PLACE_POLICY_MOUSE + OB_PLACE_POLICY_MOUSE, + OB_PLACE_POLICY_LEASTOVERLAP, } ObPlacePolicy; -gboolean place_client(struct _ObClient *client, gint *x, gint *y, - struct _ObAppSettings *settings); +typedef enum +{ + OB_PLACE_MONITOR_ANY, + OB_PLACE_MONITOR_ACTIVE, + OB_PLACE_MONITOR_MOUSE, + OB_PLACE_MONITOR_PRIMARY +} ObPlaceMonitor; + +gboolean place_client(struct _ObClient *client, gboolean foreground, + gint *x, gint *y, struct _ObAppSettings *settings); #endif