mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Change FocusIn/Out semantics to match Enter/Leave semantics.
This commit is contained in:
parent
451d5464b4
commit
b6aec7f6f9
4 changed files with 92 additions and 26 deletions
|
|
@ -391,5 +391,4 @@ typedef struct _QdEvent {
|
|||
int evcount;
|
||||
} QdEventRec;
|
||||
|
||||
#define MPXDBG(...) ErrorF("MPX: " __VA_ARGS__ )
|
||||
#endif /* INPUTSTRUCT_H */
|
||||
|
|
|
|||
|
|
@ -216,7 +216,15 @@ typedef struct _ScreenSaverStuff {
|
|||
|
||||
extern int screenIsSaved;
|
||||
extern ScreenSaverStuffRec savedScreenInfo[MAXSCREENS];
|
||||
extern int EnterLeavePrivatesIndex;
|
||||
extern int FocusPrivatesIndex;
|
||||
|
||||
/* Used to maintain semantics of core protocol for Enter/LeaveNotifies and
|
||||
* FocusIn/Out events for multiple pointers/keyboards.
|
||||
*/
|
||||
typedef struct _FocusSemaphores {
|
||||
int enterleave;
|
||||
int focusinout;
|
||||
} FocusSemaphoresRec, *FocusSemaphoresPtr;
|
||||
|
||||
/*
|
||||
* this is the configuration parameter "NO_BACK_SAVE"
|
||||
|
|
|
|||
Loading…
Reference in a new issue