Permalink
Browse files

x11: support for multiple x screens

  • Loading branch information...
1 parent a55a55c commit 706e10f74c84c5238d48f5df2506a5c18ff5428c Grégory Coutant committed with Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/windowing/X11/XRandR.cpp
View
2 xbmc/windowing/X11/XRandR.cpp
@@ -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;

0 comments on commit 706e10f

Please sign in to comment.