Skip to content

Commit

Permalink
x11: support for multiple x screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégory Coutant authored and FernetMenta committed Oct 28, 2013
1 parent 60f1d60 commit cd1de5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/windowing/X11/XRandR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ bool CXRandR::Query(bool force, int screennum)
pclose(file);

TiXmlElement *pRootElement = xmlDoc.RootElement();
if (strcasecmp(pRootElement->Value(), "screen") != screennum)
if (atoi(pRootElement->Attribute("id")) != screennum)
{
// TODO ERROR
return false;
Expand Down

0 comments on commit cd1de5a

Please sign in to comment.