- extended evcontroller
- remote objects - new ev drivers for oxford IPS,ITC,ILM and LC M.Z.
This commit is contained in:
@@ -2195,13 +2195,15 @@ static int xw_read_cursor(xw, mode, posn, ref, pos, key)
|
||||
/*
|
||||
* Discard un-handled ButtonPress, KeyPress and MotionNotify events.
|
||||
*/
|
||||
if (xw->nofocus) { /* M.Z. */
|
||||
/* removed M.Z.
|
||||
if (xw->nofocus) {
|
||||
while(xw_check_window_event(xw, xw->window, (long)
|
||||
(ButtonPressMask | PointerMotionMask), &event));
|
||||
} else {
|
||||
while(xw_check_window_event(xw, xw->window, (long)
|
||||
(ButtonPressMask | KeyPressMask | PointerMotionMask), &event));
|
||||
}
|
||||
*/
|
||||
if(xw->bad_device)
|
||||
return xw_end_cursor(xw, bc, 1);
|
||||
xw->nofocus=0; /* M.Z. */
|
||||
@@ -2326,9 +2328,10 @@ static int xw_read_cursor(xw, mode, posn, ref, pos, key)
|
||||
case MotionNotify:
|
||||
/*
|
||||
* Discard all but the last MotionNotify event.
|
||||
*/
|
||||
*/
|
||||
while(xw_check_window_event(xw, xw->window, (long)(PointerMotionMask),
|
||||
&event));
|
||||
|
||||
if(xw->bad_device || xw_erase_cursor(xw, bc))
|
||||
return xw_end_cursor(xw, bc, 1);
|
||||
last.x = event.xmotion.x;
|
||||
@@ -3548,7 +3551,7 @@ static int xw_next_event(xw, event)
|
||||
}
|
||||
|
||||
/*.......................................................................
|
||||
* like xw_next_event (see above), but with timeout in decisSecs (M.Z.)
|
||||
* like xw_next_event (see above), but with timeout in deciSecs (M.Z.)
|
||||
*/
|
||||
#ifdef __STDC__
|
||||
static int xw_next_event_tmo(XWdev *xw, XEvent *event, int tmo_10)
|
||||
|
||||
Reference in New Issue
Block a user