From b3cc8f48768c10db97fe18e0702285b110e5978b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 8 Jan 2010 18:16:37 -0500 Subject: allow application rules to place transient/dialog/splash windows, and allow application rules to match only on the role or type if you wish. --- openbox/place.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/place.c') diff --git a/openbox/place.c b/openbox/place.c index ee8bf7eb..36e977da 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -484,8 +484,8 @@ gboolean place_client(ObClient *client, gint *x, gint *y, return FALSE; /* try a number of methods */ - ret = place_transient_splash(client, x, y) || - (userplaced = place_per_app_setting(client, x, y, settings)) || + ret = (userplaced = place_per_app_setting(client, x, y, settings)) || + place_transient_splash(client, x, y) || (config_place_policy == OB_PLACE_POLICY_MOUSE && place_under_mouse(client, x, y)) || place_nooverlap(client, x, y) || -- cgit v1.2.3