diff options
| author | Jason Rumney | 2002-03-20 20:58:03 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-03-20 20:58:03 +0000 |
| commit | e81916d1ba3fcf0a09fb7634f1d0c982714a39d6 (patch) | |
| tree | e5263a40ce9068e50baa13e034b964e01e95b6a3 /src | |
| parent | f37577f922cc1da781f1b89778704741b89f8f6a (diff) | |
| download | emacs-e81916d1ba3fcf0a09fb7634f1d0c982714a39d6.tar.gz emacs-e81916d1ba3fcf0a09fb7634f1d0c982714a39d6.zip | |
(w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to extract mouse co-ordinates.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c index 3d52d332056..8a2e40616a3 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -8804,7 +8804,10 @@ w32_read_socket (sd, bufp, numchars, expected) | |||
| 8804 | && XFASTINT (XWINDOW (f->tool_bar_window)->height)) | 8804 | && XFASTINT (XWINDOW (f->tool_bar_window)->height)) |
| 8805 | { | 8805 | { |
| 8806 | Lisp_Object window; | 8806 | Lisp_Object window; |
| 8807 | int p; | 8807 | int p, x, y; |
| 8808 | |||
| 8809 | x = XFASTINT (emacs_event.x); | ||
| 8810 | y = XFASTINT (emacs_event.y); | ||
| 8808 | 8811 | ||
| 8809 | /* Set x and y. */ | 8812 | /* Set x and y. */ |
| 8810 | window = window_from_coordinates (f, | 8813 | window = window_from_coordinates (f, |