projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f869dc0
)
let per-app settings override program specified position but not user specified
author
Mikael Magnusson
<mikachu@comhem.se>
Wed, 11 Jul 2007 00:24:09 +0000
(
00:24
+0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Wed, 11 Jul 2007 00:24:09 +0000
(
00:24
+0000)
openbox/place.c
patch
|
blob
|
history
diff --git
a/openbox/place.c
b/openbox/place.c
index 845becdb93d67fe74036f37757aa28de7c664458..aadd044561eea53bf26e2cabdec4e90c349d90bf 100644
(file)
--- a/
openbox/place.c
+++ b/
openbox/place.c
@@
-473,7
+473,11
@@
gboolean place_client(ObClient *client, gint *x, gint *y,
{
gboolean ret;
- if (client->positioned)
+ /* per-app settings override program specified position
+ * but not user specified */
+ if ((client->positioned & USPosition) ||
+ ((client->positioned & PPosition) && !(settings && settings->pos_given))
+ )
return FALSE;
/* try a number of methods */