2013年11月29日 If xf86-input-tslib reported error "undefined symbol xf86XInputSetScreen" and X crashed ... [長年日記]
_ If xf86-input-tslib reported error "undefined symbol xf86XInputSetScreen" and X crashed ...
apply this patch for xf86-input-tslib and re-build it ;)
*** src/tslib.c.ORG 2013-11-29 16:03:17.820000507 +0900
--- src/tslib.c 2013-11-29 16:10:37.060000630 +0900
***************
*** 75,80 ****
--- 75,93 ----
#define COLLECT_INPUT_OPTIONS(pInfo, options) xf86CollectInputOptions((pInfo), (options))
#endif
+ #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) > 13
+ static void
+ xf86XInputSetScreen(InputInfoPtr pInfo,
+ int screen_number,
+ int x,
+ int y)
+ {
+ if (miPointerGetScreen(pInfo->dev) !=
+ screenInfo.screens[screen_number]) {
+ miPointerSetScreen(pInfo->dev, screen_number, x, y);
+ }
+ }
+ #endif
enum { TSLIB_ROTATE_NONE=0, TSLIB_ROTATE_CW=270, TSLIB_ROTATE_UD=180, TSLIB_ROTATE_CCW=90 };
[ツッコミを入れる]