projects
/
dana
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow per-app settings to pick a monitor for a window without choosing a position...
[dana/openbox.git]
/
openbox
/
config.c
diff --git
a/openbox/config.c
b/openbox/config.c
index
857255f
..
9067011
100644
(file)
--- a/
openbox/config.c
+++ b/
openbox/config.c
@@
-291,8
+291,8
@@
static void parse_per_app_settings(xmlNodePtr node, gpointer d)
settings->pos_given = TRUE;
}
settings->pos_given = TRUE;
}
- if (settings->pos_given &&
-
(c = obt_xml_find_node(n->children, "monitor")))
+ /* monitor can be set without setting x or y */
+
if (
(c = obt_xml_find_node(n->children, "monitor")))
if (!obt_xml_node_contains(c, "default")) {
gchar *s = obt_xml_node_string(c);
if (!g_ascii_strcasecmp(s, "mouse"))
if (!obt_xml_node_contains(c, "default")) {
gchar *s = obt_xml_node_string(c);
if (!g_ascii_strcasecmp(s, "mouse"))