comparison src/scrollbar-msw.c @ 819:6504113e7c2d

[xemacs-hg @ 2002-04-25 18:03:23 by andyp] sync up windows branch from 21.4
author andyp
date Thu, 25 Apr 2002 18:04:24 +0000
parents a634e3b7acc8
children 6728e641994e
comparison
equal deleted inserted replaced
818:accc481aef34 819:6504113e7c2d
350 350
351 /* The mouse event could actually occur outside of the emacs 351 /* The mouse event could actually occur outside of the emacs
352 frame. */ 352 frame. */
353 if (ScreenToClient (FRAME_MSWINDOWS_HANDLE (XFRAME (frame)), 353 if (ScreenToClient (FRAME_MSWINDOWS_HANDLE (XFRAME (frame)),
354 &donde_esta) != 0) 354 &donde_esta) != 0)
355 /* stderr_out ("donde_esta: %d %d\n", donde_esta.x, donde_esta.y); */ 355 {
356 pixel_to_glyph_translation (XFRAME (frame), donde_esta.x, donde_esta.y, 356 /* stderr_out ("donde_esta: %d %d\n", donde_esta.x, donde_esta.y); */
357 &mene, &_mene, &tekel, &upharsin, 357 pixel_to_glyph_translation (XFRAME (frame), donde_esta.x, donde_esta.y,
358 &needle_in_haystack, 358 &mene, &_mene, &tekel, &upharsin,
359 &mens, &sana, &in, &corpore, &sano); 359 &needle_in_haystack,
360 360 &mens, &sana, &in, &corpore, &sano);
361 if (needle_in_haystack) 361
362 { 362 if (needle_in_haystack)
363 win = wrap_window (needle_in_haystack); 363 {
364 /* stderr_out ("found needle\n"); 364 win = wrap_window (needle_in_haystack);
365 debug_print (win); */ 365 /* stderr_out ("found needle\n");
366 } 366 debug_print (win); */
367 else 367 }
368 }
369
370 if (!needle_in_haystack)
368 { 371 {
369 win = FRAME_SELECTED_WINDOW (XFRAME (frame)); 372 win = FRAME_SELECTED_WINDOW (XFRAME (frame));
370 needle_in_haystack = XWINDOW (win); 373 needle_in_haystack = XWINDOW (win);
371 } 374 }
372 375