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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.223 by root, Sun May 18 18:09:52 2014 UTC vs.
Revision 1.226 by sf-exg, Wed Sep 3 18:20:37 2014 UTC

1/*----------------------------------------------------------------------* 1/*----------------------------------------------------------------------*
2 * File: rxvtperl.xs 2 * File: rxvtperl.xs
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * 4 *
5 * All portions of code are copyright by their respective author/s. 5 * All portions of code are copyright by their respective author/s.
6 * Copyright (c) 2005-2008,2011 Marc Lehmann <schmorp@schmorp.de> 6 * Copyright (c) 2005-2014,2011 Marc Lehmann <schmorp@schmorp.de>
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or 10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version. 11 * (at your option) any later version.
12 * 12 *
13 * This program is distributed in the hope that it will be useful, 13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1837 THIS->cursor_blink_reset (); 1837 THIS->cursor_blink_reset ();
1838 break; 1838 break;
1839#endif 1839#endif
1840 1840
1841 case Opt_cursorUnderline: 1841 case Opt_cursorUnderline:
1842 THIS->cursor_type = set ? 1 : 0;
1842 THIS->want_refresh = 1; 1843 THIS->want_refresh = 1;
1843 THIS->refresh_check (); 1844 THIS->refresh_check ();
1844 break; 1845 break;
1845 1846
1846# case Opt_scrollBar_floating: 1847# case Opt_scrollBar_floating:
1860 CODE: 1861 CODE:
1861 RETVAL = 0 < THIS->bind_action (keysym, str); 1862 RETVAL = 0 < THIS->bind_action (keysym, str);
1862 THIS->keyboard->register_done (); 1863 THIS->keyboard->register_done ();
1863 OUTPUT: 1864 OUTPUT:
1864 RETVAL 1865 RETVAL
1865
1866void
1867rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1868 CODE:
1869 wchar_t *wstr = sv2wcs (str);
1870 THIS->keyboard->register_action (keysym, state, wstr);
1871 free (wstr);
1872 1866
1873void 1867void
1874rxvt_term::screen_cur (...) 1868rxvt_term::screen_cur (...)
1875 PROTOTYPE: $;$$ 1869 PROTOTYPE: $;$$
1876 ALIAS: 1870 ALIAS:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines