Commit 2429513915ee11e42e44068c1f8f66ff179cd534
- Diff rendering mode:
- inline
- side by side
src/wcmConfig.c
(1 / 0)
|   | |||
| 360 | 360 | goto SetupProc_fail; | |
| 361 | 361 | ||
| 362 | 362 | priv = (WacomDevicePtr) local->private; | |
| 363 | priv->name = local->name; | ||
| 363 | 364 | common = priv->common; | |
| 364 | 365 | ||
| 365 | 366 | common->wcmDevice = device; |
src/xf86Wacom.h
(2 / 1)
|   | |||
| 77 | 77 | #define DBG(lvl, priv, ...) \ | |
| 78 | 78 | do { \ | |
| 79 | 79 | if ((lvl) <= priv->debugLevel) { \ | |
| 80 | xf86Msg(X_INFO, "%s: ", __func__); \ | ||
| 80 | xf86Msg(X_INFO, "%s (%s): ", \ | ||
| 81 | ((WacomDeviceRec*)priv)->name, __func__); \ | ||
| 81 | 82 | xf86Msg(X_NONE, __VA_ARGS__); \ | |
| 82 | 83 | } \ | |
| 83 | 84 | } while (0) |
src/xf86WacomDefs.h
(2 / 0)
|   | |||
| 159 | 159 | ||
| 160 | 160 | struct _WacomDeviceRec | |
| 161 | 161 | { | |
| 162 | char *name; /* Do not move, same offset as common->wcmDevice */ | ||
| 162 | 163 | /* configuration fields */ | |
| 163 | 164 | struct _WacomDeviceRec *next; | |
| 164 | 165 | LocalDevicePtr local; | |
| … | … | ||
| 371 | 371 | ||
| 372 | 372 | struct _WacomCommonRec | |
| 373 | 373 | { | |
| 374 | /* Do not move wcmDevice, same offset as priv->name */ | ||
| 374 | 375 | char* wcmDevice; /* device file name */ | |
| 375 | 376 | dev_t min_maj; /* minor/major number */ | |
| 376 | 377 | unsigned char wcmFlags; /* various flags (handle tilt) */ |

