ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/scrollbar.C
(Generate patch)

Comparing rxvt-unicode/src/scrollbar.C (file contents):
Revision 1.3 by pcg, Tue Nov 25 11:52:42 2003 UTC vs.
Revision 1.4 by pcg, Tue Nov 25 17:11:33 2003 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: scrollbar.c 2 * File: scrollbar.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: scrollbar.C,v 1.3 2003/11/25 11:52:42 pcg Exp $ 4 * $Id: scrollbar.C,v 1.4 2003/11/25 17:11:33 pcg Exp $
5 * 5 *
6 * Copyright (c) 1997,1998 mj olesen <olesen@me.QueensU.CA> 6 * Copyright (c) 1997,1998 mj olesen <olesen@me.QueensU.CA>
7 * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> 7 * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org>
8 * - N*XTstep like scrollbars 8 * - N*XTstep like scrollbars
9 * Copyright (c) 1999-2001 Geoff Wing <gcw@pobox.com> 9 * Copyright (c) 1999-2001 Geoff Wing <gcw@pobox.com>
105 R->PixColors[Color_fg], 105 R->PixColors[Color_fg],
106 R->PixColors[Color_bg]); 106 R->PixColors[Color_bg]);
107#ifdef DEBUG_X 107#ifdef DEBUG_X
108 XStoreName(R->Xdisplay, R->scrollBar.win, "scrollbar"); 108 XStoreName(R->Xdisplay, R->scrollBar.win, "scrollbar");
109#endif 109#endif
110 XDefineCursor(R->Xdisplay, R->scrollBar.win, R->pointer_leftptr); 110 XDefineCursor(R->Xdisplay, R->scrollBar.win, R->leftptr_cursor);
111 XSelectInput(R->Xdisplay, R->scrollBar.win, 111 XSelectInput(R->Xdisplay, R->scrollBar.win,
112 (ExposureMask | ButtonPressMask | ButtonReleaseMask 112 (ExposureMask | ButtonPressMask | ButtonReleaseMask
113 | Button1MotionMask | Button2MotionMask 113 | Button1MotionMask | Button2MotionMask
114 | Button3MotionMask)); 114 | Button3MotionMask));
115 delayed_init = 1; 115 delayed_init = 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines