comparison src/scrollbar-x.c @ 355:182f72e8cd0d r21-1-7

Import from CVS: tag r21-1-7
author cvs
date Mon, 13 Aug 2007 10:56:21 +0200
parents e11d67e05968
children 7347b34c275b
comparison
equal deleted inserted replaced
354:3729bef672e0 355:182f72e8cd0d
672 XSETWINDOW (window, w); 672 XSETWINDOW (window, w);
673 x_scrollbar_loop (X_SET_SCROLLBAR_POINTER, window, find_window_mirror (w), 673 x_scrollbar_loop (X_SET_SCROLLBAR_POINTER, window, find_window_mirror (w),
674 0, (Window) NULL); 674 0, (Window) NULL);
675 } 675 }
676 676
677 /* Called directly from x_any_window_to_frame in frame-x.c */
678 EMACS_INT
679 x_window_is_scrollbar (struct frame *f, Window win)
680 {
681 if (!FRAME_X_P (f))
682 return 0;
683
684 if (f->mirror_dirty)
685 update_frame_window_mirror (f);
686 return (EMACS_INT) x_scrollbar_loop (X_WINDOW_IS_SCROLLBAR, f->root_window,
687 f->root_mirror, 0, win);
688 }
689
690 /* Make sure that all scrollbars on frame are up-to-date. Called 677 /* Make sure that all scrollbars on frame are up-to-date. Called
691 directly from x_set_frame_properties in frame-x.c*/ 678 directly from x_set_frame_properties in frame-x.c*/
692 void 679 void
693 x_update_frame_scrollbars (struct frame *f) 680 x_update_frame_scrollbars (struct frame *f)
694 { 681 {