comparison src/scrollbar-x.c @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 080151679be2
children af57a77cbc92
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
20 along with XEmacs; see the file COPYING. If not, write to 20 along with XEmacs; see the file COPYING. If not, write to
21 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 21 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */ 22 Boston, MA 02111-1307, USA. */
23 23
24 /* Synched up with: Not in FSF. */ 24 /* Synched up with: Not in FSF. */
25
26 /* This file Mule-ized (more like Mule-verified) by Ben Wing, 7-8-00. */
25 27
26 #include <config.h> 28 #include <config.h>
27 #include "lisp.h" 29 #include "lisp.h"
28 30
29 #include "console-x.h" 31 #include "console-x.h"
404 406
405 if (!f) 407 if (!f)
406 return; 408 return;
407 409
408 mirror = find_scrollbar_window_mirror (f, id); 410 mirror = find_scrollbar_window_mirror (f, id);
411 if (!mirror)
412 return;
413
409 win = real_window (mirror, 1); 414 win = real_window (mirror, 1);
410 415
411 if (NILP (win)) 416 if (NILP (win))
412 return; 417 return;
413 instance = mirror->scrollbar_vertical_instance; 418 instance = mirror->scrollbar_vertical_instance;
607 612
608 if (!f) 613 if (!f)
609 return; 614 return;
610 615
611 mirror = find_scrollbar_window_mirror (f, id); 616 mirror = find_scrollbar_window_mirror (f, id);
617 if (!mirror)
618 return;
619
612 win = real_window (mirror, 1); 620 win = real_window (mirror, 1);
613 621
614 if (NILP (win)) 622 if (NILP (win))
615 return; 623 return;
616 frame = WINDOW_FRAME (XWINDOW (win)); 624 frame = WINDOW_FRAME (XWINDOW (win));