diff options
| author | Dana Jansens <danakj@orodu.net> | 2011-10-14 19:24:45 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-10-16 18:51:51 -0400 |
| commit | 4aade63604e9d29f01933b9bf0ac9228721411ef (patch) | |
| tree | 2c4166e26b10e73daee6fe67fbc1854567f080bb /openbox/config.c | |
| parent | c590a83207ed5825b513e2278789ed13f55574b2 (diff) | |
Allow per-app settings to pick a monitor for a window without choosing a position in it.
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/config.c b/openbox/config.c index 857255fa..9067011a 100644 --- 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; } - 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")) |
