X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fconfig.c;h=9067011a1d395bdf5d0f1d2f1e103f41a9275c70;hb=4aade63604e9d29f01933b9bf0ac9228721411ef;hp=857255faf840635254cd61e903893488a94fcf74;hpb=c590a83207ed5825b513e2278789ed13f55574b2;p=chaz%2Fopenbox 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"))