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

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.311 by ayin, Mon Oct 15 07:40:26 2007 UTC vs.
Revision 1.314 by sasha, Fri Oct 26 17:26:16 2007 UTC

72typedef char *XPointer; 72typedef char *XPointer;
73#endif 73#endif
74 74
75#include <termios.h> 75#include <termios.h>
76typedef struct termios ttymode_t; 76typedef struct termios ttymode_t;
77
78#ifdef HAVE_AFTERIMAGE
79# include <afterimage.h>
80#undef min
81#undef max
82#endif
83 77
84#include "background.h" 78#include "background.h"
85 79
86#ifndef STDIN_FILENO 80#ifndef STDIN_FILENO
87# define STDIN_FILENO 0 81# define STDIN_FILENO 0
598#define PrivMode_TtyOutputInh (1UL<<15) 592#define PrivMode_TtyOutputInh (1UL<<15)
599#define PrivMode_Keypress (1UL<<16) 593#define PrivMode_Keypress (1UL<<16)
600#define PrivMode_smoothScroll (1UL<<17) 594#define PrivMode_smoothScroll (1UL<<17)
601#define PrivMode_vt52 (1UL<<18) 595#define PrivMode_vt52 (1UL<<18)
602#define PrivMode_LFNL (1UL<<19) 596#define PrivMode_LFNL (1UL<<19)
597#define PrivMode_MouseBtnEvent (1UL<<20)
598#define PrivMode_MouseAnyEvent (1UL<<21)
603/* too annoying to implement X11 highlight tracking */ 599/* too annoying to implement X11 highlight tracking */
604/* #define PrivMode_MouseX11Track (1LU<<20) */ 600/* #define PrivMode_MouseX11Track (1LU<<20) */
605 601
606#define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11) 602#define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent)
607 603
608#ifdef ALLOW_132_MODE 604#ifdef ALLOW_132_MODE
609# define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) 605# define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK)
610#else 606#else
611# define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor) 607# define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor)
924 last_state, /* scrollbar last state */ 920 last_state, /* scrollbar last state */
925 scrollbar_len, 921 scrollbar_len,
926 window_vt_x, 922 window_vt_x,
927 window_vt_y, 923 window_vt_y,
928 window_sb_x, 924 window_sb_x,
925 mouse_row,
926 mouse_col,
929# ifdef POINTER_BLANK 927# ifdef POINTER_BLANK
930 pointerBlankDelay, 928 pointerBlankDelay,
931# endif 929# endif
932 allowedxerror; 930 allowedxerror;
933/* ---------- */ 931/* ---------- */
1039 void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); 1037 void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1);
1040 void iso14755_54 (int x, int y); 1038 void iso14755_54 (int x, int y);
1041# endif 1039# endif
1042#endif 1040#endif
1043 1041
1044 long vt_emask, vt_emask_perl, vt_emask_xim; 1042 long vt_emask, vt_emask_perl, vt_emask_xim, vt_emask_mouse;
1045 1043
1046 void vt_select_input () const NOTHROW 1044 void vt_select_input () const NOTHROW
1047 { 1045 {
1048 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); 1046 XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim | vt_emask_mouse);
1049 } 1047 }
1050 1048
1051#if ENABLE_TRANSPARENCY || ENABLE_PERL 1049#if ENABLE_TRANSPARENCY || ENABLE_PERL
1052 void rootwin_cb (XEvent &xev); 1050 void rootwin_cb (XEvent &xev);
1053 xevent_watcher rootwin_ev; 1051 xevent_watcher rootwin_ev;
1364 void selection_send (const XSelectionRequestEvent &rq) NOTHROW; 1362 void selection_send (const XSelectionRequestEvent &rq) NOTHROW;
1365 void selection_click (int clicks, int x, int y) NOTHROW; 1363 void selection_click (int clicks, int x, int y) NOTHROW;
1366 void selection_extend (int x, int y, int flag) NOTHROW; 1364 void selection_extend (int x, int y, int flag) NOTHROW;
1367 void selection_rotate (int x, int y) NOTHROW; 1365 void selection_rotate (int x, int y) NOTHROW;
1368 1366
1369 void pixel_position (int *x, int *y) NOTHROW;
1370
1371#if defined(NEXT_SCROLLBAR) 1367#if defined(NEXT_SCROLLBAR)
1372 // scrollbar-next.C 1368 // scrollbar-next.C
1373 Pixmap renderPixmap (const char *const *data, int width, int height); 1369 Pixmap renderPixmap (const char *const *data, int width, int height);
1374 void init_scrollbar_stuff (); 1370 void init_scrollbar_stuff ();
1375 void drawBevel (Drawable d, int x1, int y1, int w, int h); 1371 void drawBevel (Drawable d, int x1, int y1, int w, int h);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines