Mercurial > emacs
changeset 8279:4cde734c20e8
(note_mouse_movement): Use proper data type for window
args to XQueryPointer.
(x_scroll_bar_note_movement): Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 18 Jul 1994 18:15:06 +0000 |
parents | f856f00b1e32 |
children | 2c26fd09c101 |
files | src/xterm.c |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Mon Jul 18 18:04:45 1994 +0000 +++ b/src/xterm.c Mon Jul 18 18:15:06 1994 +0000 @@ -2098,9 +2098,10 @@ /* Ask for another mouse motion event. */ { int dummy; + Window dummy_window; XQueryPointer (event->display, FRAME_X_WINDOW (frame), - (Window *) &dummy, (Window *) &dummy, + &dummy_window, &dummy_window, &dummy, &dummy, &dummy, &dummy, (unsigned int *) &dummy); } @@ -2120,9 +2121,10 @@ /* Ask for another mouse motion event. */ { int dummy; + Window dummy_window; XQueryPointer (event->display, FRAME_X_WINDOW (frame), - (Window *) &dummy, (Window *) &dummy, + &dummy_window, &dummy_window, &dummy, &dummy, &dummy, &dummy, (unsigned int *) &dummy); } @@ -2133,9 +2135,10 @@ event the next time the mouse moves and we can see if it's *still* on the same glyph. */ int dummy; + Window dummy_window; XQueryPointer (event->display, FRAME_X_WINDOW (frame), - (Window *) &dummy, (Window *) &dummy, + &dummy_window, &dummy_window, &dummy, &dummy, &dummy, &dummy, (unsigned int *) &dummy); } @@ -3190,9 +3193,10 @@ moves and we can see *still* on the same position. */ { int dummy; + Window dummy_window; XQueryPointer (event->xmotion.display, event->xmotion.window, - (Window *) &dummy, (Window *) &dummy, + &dummy_window, &dummy_window, &dummy, &dummy, &dummy, &dummy, (unsigned int *) &dummy); }