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

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.140 by root, Thu Jan 12 01:30:53 2006 UTC vs.
Revision 1.142 by root, Fri Jan 13 04:59:04 2006 UTC

922#if ENABLE_FRILLS 922#if ENABLE_FRILLS
923 Atom prop = None; 923 Atom prop = None;
924 MWMHints mwmhints; 924 MWMHints mwmhints;
925#endif 925#endif
926 XGCValues gcvalue; 926 XGCValues gcvalue;
927 long vt_emask;
928 XSetWindowAttributes attributes; 927 XSetWindowAttributes attributes;
929 XWindowAttributes gattr; 928 XWindowAttributes gattr;
930 Window top, parent; 929 Window top, parent;
931 dDisp; 930 dDisp;
932 931
1095 attributes.bit_gravity = NorthWestGravity; 1094 attributes.bit_gravity = NorthWestGravity;
1096 XChangeWindowAttributes (disp, vt, CWBitGravity, &attributes); 1095 XChangeWindowAttributes (disp, vt, CWBitGravity, &attributes);
1097 1096
1098 vt_emask = ExposureMask | ButtonPressMask | ButtonReleaseMask | PropertyChangeMask; 1097 vt_emask = ExposureMask | ButtonPressMask | ButtonReleaseMask | PropertyChangeMask;
1099 1098
1100 if (OPTION (Opt_pointerBlank) 1099 if (OPTION (Opt_pointerBlank))
1101#ifdef ENABLE_PERL
1102 || perl.self
1103#endif
1104 )
1105 vt_emask |= PointerMotionMask; 1100 vt_emask |= PointerMotionMask;
1106 else 1101 else
1107 vt_emask |= Button1MotionMask | Button3MotionMask; 1102 vt_emask |= Button1MotionMask | Button3MotionMask;
1108 1103
1109 XSelectInput (disp, vt, vt_emask); 1104 vt_select_input ();
1105
1110 vt_ev.start (display, vt); 1106 vt_ev.start (display, vt);
1111 1107
1112#if defined(MENUBAR) && (MENUBAR_MAX > 1) 1108#if defined(MENUBAR) && (MENUBAR_MAX > 1)
1113 if (menuBar_height ()) 1109 if (menuBar_height ())
1114 { 1110 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines