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

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.413 by ayin, Sun Feb 17 12:11:56 2008 UTC vs.
Revision 1.414 by ayin, Tue Feb 19 10:47:03 2008 UTC

1015 } 1015 }
1016 while (row < end_row); 1016 while (row < end_row);
1017 } 1017 }
1018 1018
1019 scr_refresh (); 1019 scr_refresh ();
1020 scrollbar_show (1); 1020 scrollBar.show (1);
1021#ifdef USE_XIM 1021#ifdef USE_XIM
1022 IMSendSpot (); 1022 IMSendSpot ();
1023#endif 1023#endif
1024 } 1024 }
1025 1025
1536 ; 1536 ;
1537 1537
1538 if (scrollBar.state && ev.xany.window == scrollBar.win) 1538 if (scrollBar.state && ev.xany.window == scrollBar.win)
1539 { 1539 {
1540 scrollBar.state = STATE_IDLE; 1540 scrollBar.state = STATE_IDLE;
1541 scrollbar_show (0); 1541 scrollBar.show (0);
1542 } 1542 }
1543 } 1543 }
1544 break; 1544 break;
1545 1545
1546 case MotionNotify: 1546 case MotionNotify:
1647 &ev.xbutton.x, &ev.xbutton.y, 1647 &ev.xbutton.x, &ev.xbutton.y,
1648 &unused_mask); 1648 &unused_mask);
1649 scr_move_to (scrollbar_position (ev.xbutton.y) - csrO, 1649 scr_move_to (scrollbar_position (ev.xbutton.y) - csrO,
1650 scrollBar.size ()); 1650 scrollBar.size ());
1651 want_refresh = 1; 1651 want_refresh = 1;
1652 scrollbar_show (1); 1652 scrollBar.show (1);
1653 } 1653 }
1654 break; 1654 break;
1655 } 1655 }
1656 1656
1657#if defined(CURSOR_BLINK) 1657#if defined(CURSOR_BLINK)
2066 reportmode = !! (priv_modes & PrivMode_mouse_report); 2066 reportmode = !! (priv_modes & PrivMode_mouse_report);
2067 2067
2068 if (scrollBar.state == STATE_UP || scrollBar.state == STATE_DOWN) 2068 if (scrollBar.state == STATE_UP || scrollBar.state == STATE_DOWN)
2069 { 2069 {
2070 scrollBar.state = STATE_IDLE; 2070 scrollBar.state = STATE_IDLE;
2071 scrollbar_show (0); 2071 scrollBar.show (0);
2072 } 2072 }
2073 2073
2074#ifdef SELECTION_SCROLLING 2074#ifdef SELECTION_SCROLLING
2075 sel_scroll_ev.stop(); 2075 sel_scroll_ev.stop();
2076#endif 2076#endif
2159 } 2159 }
2160 else 2160 else
2161# endif 2161# endif
2162 { 2162 {
2163 scr_page (v, i); 2163 scr_page (v, i);
2164 scrollbar_show (1); 2164 scrollBar.show (1);
2165 } 2165 }
2166 } 2166 }
2167 break; 2167 break;
2168#endif 2168#endif
2169 } 2169 }
2691 2691
2692 /* 8.3.106: RESET TO INITIAL STATE */ 2692 /* 8.3.106: RESET TO INITIAL STATE */
2693 case 'c': 2693 case 'c':
2694 mbstate.reset (); 2694 mbstate.reset ();
2695 scr_poweron (); 2695 scr_poweron ();
2696 scrollbar_show (1); 2696 scrollBar.show (1);
2697 break; 2697 break;
2698 2698
2699 /* 8.3.79: LOCKING-SHIFT TWO (see ISO2022) */ 2699 /* 8.3.79: LOCKING-SHIFT TWO (see ISO2022) */
2700 case 'n': 2700 case 'n':
2701 scr_charset_choose (2); 2701 scr_charset_choose (2);
3677 if (state) /* orthogonal */ 3677 if (state) /* orthogonal */
3678 priv_modes &= ~(PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent); 3678 priv_modes &= ~(PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent);
3679 break; 3679 break;
3680#ifdef scrollBar_esc 3680#ifdef scrollBar_esc
3681 case scrollBar_esc: 3681 case scrollBar_esc:
3682 if (scrollbar_mapping (state)) 3682 if (scrollBar.map (state))
3683 { 3683 {
3684 resize_all_windows (0, 0, 0); 3684 resize_all_windows (0, 0, 0);
3685 scr_touch (true); 3685 scr_touch (true);
3686 } 3686 }
3687 break; 3687 break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines