Don't try to get randr rotation if randr is not initalised.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15222 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
152823d616
commit
e029d94bb9
@ -21,7 +21,7 @@ index 3eba078..6091006 100644
|
||||
int ret;
|
||||
int x,y;
|
||||
+ ScrnInfoPtr pScrn = xf86Screens[priv->screen_num];
|
||||
+ Rotation rotation = RRGetRotation(pScrn->pScreen);
|
||||
+ Rotation rotation = rrGetScrPriv (pScrn->pScreen) ? RRGetRotation(pScrn->pScreen);
|
||||
|
||||
ret = ts_read(priv->ts, &samp, 1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user