mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-25 21:02:21 +00:00
xserver: remove AbsoluteClassRec keeping the ABI
This removes the struct, but keeps InitAbsoluteClassDeviceStruct as a no-op and preserves related struct layout. Signed-off-by: Simon Thum <simon.thum@gmx.de> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2103d61909
commit
633b81e8ba
8 changed files with 14 additions and 222 deletions
|
|
@ -317,27 +317,6 @@ typedef struct _ProximityClassRec {
|
|||
char in_proximity;
|
||||
} ProximityClassRec, *ProximityClassPtr;
|
||||
|
||||
typedef struct _AbsoluteClassRec {
|
||||
int sourceid;
|
||||
/* Calibration. */
|
||||
int min_x;
|
||||
int max_x;
|
||||
int min_y;
|
||||
int max_y;
|
||||
int flip_x;
|
||||
int flip_y;
|
||||
int rotation;
|
||||
int button_threshold;
|
||||
|
||||
/* Area. */
|
||||
int offset_x;
|
||||
int offset_y;
|
||||
int width;
|
||||
int height;
|
||||
int screen;
|
||||
XID following;
|
||||
} AbsoluteClassRec, *AbsoluteClassPtr;
|
||||
|
||||
typedef struct _KbdFeedbackClassRec *KbdFeedbackPtr;
|
||||
typedef struct _PtrFeedbackClassRec *PtrFeedbackPtr;
|
||||
typedef struct _IntegerFeedbackClassRec *IntegerFeedbackPtr;
|
||||
|
|
@ -392,7 +371,7 @@ typedef struct _ClassesRec {
|
|||
ButtonClassPtr button;
|
||||
FocusClassPtr focus;
|
||||
ProximityClassPtr proximity;
|
||||
AbsoluteClassPtr absolute;
|
||||
void* _pad0; /* keep ABI during AbsoluteClass removal */
|
||||
KbdFeedbackPtr kbdfeed;
|
||||
PtrFeedbackPtr ptrfeed;
|
||||
IntegerFeedbackPtr intfeed;
|
||||
|
|
@ -517,7 +496,7 @@ typedef struct _DeviceIntRec {
|
|||
ButtonClassPtr button;
|
||||
FocusClassPtr focus;
|
||||
ProximityClassPtr proximity;
|
||||
AbsoluteClassPtr absolute;
|
||||
void* _pad0; /* keep ABI, was pointer to abs class */
|
||||
KbdFeedbackPtr kbdfeed;
|
||||
PtrFeedbackPtr ptrfeed;
|
||||
IntegerFeedbackPtr intfeed;
|
||||
|
|
|
|||
Loading…
Reference in a new issue