comparison src/scrollbar-msw.c @ 487:54fa1a5c2d12

[xemacs-hg @ 2001-04-28 07:48:36 by ben] misc changes, some for 21.4 remove bogus lines setting zmacs_region_stays to 0. remove debug lines. Correct general info about init file. Fix up Cygwin section. More contributions. Fix spurious setting of zmacs-region-stays to t after a non-shift motion command. Sync up with FSF 20.7, to fix bugs handling some etags line formats. Move non-window-system specific code that was duplicated in all window systems into the generic code. * gutter.el (init-gutter): Removed. (unused) Clean up the rectangle code w.r.t. selections. You'll now get the right text copied into the primary selection (but not the clipboard yet, unfortunately -- that really requires defining our own rectangle type).
author ben
date Sat, 28 Apr 2001 07:48:46 +0000
parents 5aa1854ad537
children 666d73d6ac56
comparison
equal deleted inserted replaced
486:a83afd50994d 487:54fa1a5c2d12
294 Bufpos mens, sana; 294 Bufpos mens, sana;
295 Charcount in; 295 Charcount in;
296 Lisp_Object corpore, sano; 296 Lisp_Object corpore, sano;
297 struct window *needle_in_haystack; 297 struct window *needle_in_haystack;
298 298
299 // stderr_out ("donde_esta: %d %d\n", donde_esta.x, donde_esta.y);
300 pixel_to_glyph_translation (XFRAME (frame), donde_esta.x, donde_esta.y, 299 pixel_to_glyph_translation (XFRAME (frame), donde_esta.x, donde_esta.y,
301 &mene, &_mene, &tekel, &upharsin, 300 &mene, &_mene, &tekel, &upharsin,
302 &needle_in_haystack, 301 &needle_in_haystack,
303 &mens, &sana, &in, &corpore, &sano); 302 &mens, &sana, &in, &corpore, &sano);
304 303
305 if (needle_in_haystack) 304 if (needle_in_haystack)
306 { 305 {
307 XSETWINDOW (win, needle_in_haystack); 306 XSETWINDOW (win, needle_in_haystack);
308 // stderr_out ("found needle\n");
309 // debug_print (win);
310 } 307 }
311 else 308 else
312 { 309 {
313 win = FRAME_SELECTED_WINDOW (XFRAME (frame)); 310 win = FRAME_SELECTED_WINDOW (XFRAME (frame));
314 needle_in_haystack = XWINDOW (win); 311 needle_in_haystack = XWINDOW (win);