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.241 by root, Fri Jan 6 05:28:55 2006 UTC vs.
Revision 1.243 by root, Fri Jan 6 05:43:36 2006 UTC

25 * - extensive modifications 25 * - extensive modifications
26 * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> 26 * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org>
27 * Copyright (c) 2001 Marius Gedminas 27 * Copyright (c) 2001 Marius Gedminas
28 * - Ctrl/Mod4+Tab works like Meta+Tab (options) 28 * - Ctrl/Mod4+Tab works like Meta+Tab (options)
29 * Copyright (c) 2003 Rob McMullen <robm@flipturn.org> 29 * Copyright (c) 2003 Rob McMullen <robm@flipturn.org>
30 * Copyright (c) 2003-2005 Marc Lehmann <pcg@goof.com> 30 * Copyright (c) 2003-2006 Marc Lehmann <pcg@goof.com>
31 * 31 *
32 * This program is free software; you can redistribute it and/or modify 32 * This program is free software; you can redistribute it and/or modify
33 * it under the terms of the GNU General Public License as published by 33 * it under the terms of the GNU General Public License as published by
34 * the Free Software Foundation; either version 2 of the License, or 34 * the Free Software Foundation; either version 2 of the License, or
35 * (at your option) any later version. 35 * (at your option) any later version.
1873#ifdef MOUSE_REPORT_DOUBLECLICK 1873#ifdef MOUSE_REPORT_DOUBLECLICK
1874 if (ev.button == MEvent.button && clickintime) 1874 if (ev.button == MEvent.button && clickintime)
1875 { 1875 {
1876 /* same button, within alloted time */ 1876 /* same button, within alloted time */
1877 MEvent.clicks++; 1877 MEvent.clicks++;
1878
1878 if (MEvent.clicks > 1) 1879 if (MEvent.clicks > 1)
1879 { 1880 {
1880 /* only report double clicks */ 1881 /* only report double clicks */
1881 MEvent.clicks = 2; 1882 MEvent.clicks = 2;
1882 mouse_report (ev); 1883 mouse_report (ev);
2090 } 2091 }
2091 2092
2092 break; 2093 break;
2093 } 2094 }
2094 } 2095 }
2096
2095 return; 2097 return;
2096 } 2098 }
2099
2097#if MENUBAR 2100#if MENUBAR
2098 /* 2101 /*
2099 * Menubar window processing of button press 2102 * Menubar window processing of button press
2100 */ 2103 */
2101 if (isMenuBarWindow (ev.window)) 2104 if (isMenuBarWindow (ev.window))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines