--- rxvt-unicode/src/command.C 2003/12/19 09:41:09 1.25 +++ rxvt-unicode/src/command.C 2004/01/29 21:35:58 1.30 @@ -1,7 +1,7 @@ /*--------------------------------*-C-*---------------------------------* * File: command.c *----------------------------------------------------------------------* - * $Id: command.C,v 1.25 2003/12/19 09:41:09 pcg Exp $ + * $Id: command.C,v 1.30 2004/01/29 21:35:58 pcg Exp $ * * All portions of code are copyright by their respective author/s. * Copyright (c) 1992 John Bovey, University of Kent at Canterbury @@ -754,13 +754,16 @@ while (XPending (Xdisplay)); } +#ifdef CURSOR_BLINK void rxvt_term::blink_cb (time_watcher &w) { - w.at += BLINK_INTERVAL; hidden_cursor = !hidden_cursor; want_refresh = 1; + + w.start (w.at + BLINK_INTERVAL); } +#endif void rxvt_term::x_cb (io_watcher &w, short revents) @@ -1019,26 +1022,22 @@ #endif } +#ifdef POINTER_BLANK void rxvt_term::pointer_unblank () { XDefineCursor (Xdisplay, TermWin.vt, TermWin_cursor); recolour_cursor (); -#ifdef POINTER_BLANK hidden_pointer = 0; if (Options & Opt_pointerBlank) pointer_ev.start (NOW + pointerBlankDelay); -#endif } -#ifdef POINTER_BLANK void rxvt_term::pointer_blank () { - pointer_ev.stop (); - if (!(Options & Opt_pointerBlank)) return; @@ -1528,7 +1527,7 @@ void rxvt_button_press(pR_ XButtonEvent *ev) { - int reportmode = 0, clickintime; + int reportmode = 0, clickintime; R->bypass_keystate = ev->state & (R->ModMetaMask | ShiftMask); if (!R->bypass_keystate) @@ -1586,7 +1585,7 @@ { case Button1: /* allow shift+left click to extend selection */ - if (ev->state & ShiftMask) + if (ev->state & ShiftMask && !(R->PrivateModes & PrivMode_mouse_report)) { if (R->MEvent.button == Button1 && clickintime) R->selection_rotate (ev->x, ev->y); @@ -2694,7 +2693,7 @@ case CSI_78: /* DECREQTPARM */ if (arg[0] == 0 || arg[0] == 1) - R->tt_printf("\033[%d;1;1;112;112;1;0x", arg[0] + 2); + R->tt_printf("\033[%d;1;1;128;128;1;0x", arg[0] + 2); /* FALLTHROUGH */ default: