Mercurial > emacs
comparison src/frame.c @ 20178:fb9facb8fda0
(Fmouse_pixel_position, Fmouse_position):
Pass -1 as INSIST arg to mouse_position_hook.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 24 Oct 1997 19:57:59 +0000 |
parents | bb460edc7187 |
children | 7916c0d8f2ae |
comparison
equal
deleted
inserted
replaced
20177:6ebc3e300106 | 20178:fb9facb8fda0 |
---|---|
1301 x = y = Qnil; | 1301 x = y = Qnil; |
1302 | 1302 |
1303 #ifdef HAVE_MOUSE | 1303 #ifdef HAVE_MOUSE |
1304 /* It's okay for the hook to refrain from storing anything. */ | 1304 /* It's okay for the hook to refrain from storing anything. */ |
1305 if (mouse_position_hook) | 1305 if (mouse_position_hook) |
1306 (*mouse_position_hook) (&f, 0, | 1306 (*mouse_position_hook) (&f, -1, |
1307 &lispy_dummy, &party_dummy, | 1307 &lispy_dummy, &party_dummy, |
1308 &x, &y, | 1308 &x, &y, |
1309 &long_dummy); | 1309 &long_dummy); |
1310 if (! NILP (x)) | 1310 if (! NILP (x)) |
1311 { | 1311 { |
1341 x = y = Qnil; | 1341 x = y = Qnil; |
1342 | 1342 |
1343 #ifdef HAVE_MOUSE | 1343 #ifdef HAVE_MOUSE |
1344 /* It's okay for the hook to refrain from storing anything. */ | 1344 /* It's okay for the hook to refrain from storing anything. */ |
1345 if (mouse_position_hook) | 1345 if (mouse_position_hook) |
1346 (*mouse_position_hook) (&f, 0, | 1346 (*mouse_position_hook) (&f, -1, |
1347 &lispy_dummy, &party_dummy, | 1347 &lispy_dummy, &party_dummy, |
1348 &x, &y, | 1348 &x, &y, |
1349 &long_dummy); | 1349 &long_dummy); |
1350 #endif | 1350 #endif |
1351 XSETFRAME (lispy_dummy, f); | 1351 XSETFRAME (lispy_dummy, f); |