Change core enter/leave semantics for multiple pointers.

Send EnterNotify when first device enters the window, LeaveNotify when the
last device leaves the window. Additional devices will not cause additional
Enter/LeaveNotifies.
This commit is contained in:
Peter Hutterer 2007-04-12 16:24:42 +09:30
commit e7b47b1758
5 changed files with 42 additions and 6 deletions

View file

@ -268,4 +268,6 @@ extern void DisableMapUnmapEvents(
extern void EnableMapUnmapEvents(
WindowPtr /* pWin */ );
Bool InitWindowPrivates(
ScreenPtr /* screen */);
#endif /* WINDOW_H */

View file

@ -216,6 +216,7 @@ typedef struct _ScreenSaverStuff {
extern int screenIsSaved;
extern ScreenSaverStuffRec savedScreenInfo[MAXSCREENS];
extern int EnterLeavePrivatesIndex;
/*
* this is the configuration parameter "NO_BACK_SAVE"