projects
/
dana
/
openbox-history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f39cc88
)
merge r7699 from 3.4-working, (let per-app settings override program specified positi...
author
Mikael Magnusson
<mikachu@comhem.se>
Wed, 11 Jul 2007 00:39:14 +0000
(
00:39
+0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Wed, 11 Jul 2007 00:39:14 +0000
(
00:39
+0000)
openbox/place.c
patch
|
blob
|
history
diff --git
a/openbox/place.c
b/openbox/place.c
index
6a210b0
..
d290be3
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;
{
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 */
return FALSE;
/* try a number of methods */