summaryrefslogtreecommitdiff
path: root/openbox/place.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-08 18:16:37 -0500
committerMikael Magnusson <mikachu@gmail.com>2010-01-10 22:15:27 +0100
commitb3cc8f48768c10db97fe18e0702285b110e5978b (patch)
tree2acdd5e24bbef29d14cbe320de146a42380ddcc6 /openbox/place.c
parent8c9fb63baaf7d6245cccc584359bf09359663bea (diff)
allow application rules to place transient/dialog/splash windows, and allow application rules to match only on the role or type if you wish.
Diffstat (limited to 'openbox/place.c')
-rw-r--r--openbox/place.c4
1 files changed, 2 insertions, 2 deletions
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) ||