aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorokan2012-07-18 21:53:22 +0000
committerokan2012-07-18 21:53:22 +0000
commit1b981a5d166590176f6bff12fe483602e7b86d2a (patch)
treeea9ba87ab77345d1ac533232af6a5f14b63ee7f7 /Makefile
parent30be2c97b08b260cdeae51e51450d045e1319fdf (diff)
downloadcwm-1b981a5d166590176f6bff12fe483602e7b86d2a.tar.gz
Further simplify Xinerama init and re-init on XRR events.
While testing for Xinerama during setup was done display-wide, each time XineramaQueryScreens() is called either in start-up or due to an XRR event, the library re-tests for the Xinerama extension anyway before moving on; so the initial test is redundant and allows another global to go away with one other change: always fill in sc->xinerama (and _no), regardless of the success of malloc in XineramaQueryScreens(), and use it to see if Xinerama dimensions exist when asked by client and/or menu code.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions