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.244 by root, Fri Jan 6 17:09:27 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.
1415 else 1415 else
1416 iso14755buf = 0; 1416 iso14755buf = 0;
1417 } 1417 }
1418#endif 1418#endif
1419 1419
1420 if (ev.xany.window == vt
1420 if (ev.xany.window == vt && HOOK_INVOKE ((this, HOOK_KEY_RELEASE, DT_XEVENT, &ev, DT_END))) 1421 && HOOK_INVOKE ((this, HOOK_KEY_RELEASE, DT_XEVENT, &ev, DT_END)))
1421 break; 1422 break;
1422 1423
1423#if defined(MOUSE_WHEEL) && defined(MOUSE_SLIP_WHEELING) 1424#if defined(MOUSE_WHEEL) && defined(MOUSE_SLIP_WHEELING)
1424 if (!(ev.xkey.state & ControlMask)) 1425 if (!(ev.xkey.state & ControlMask))
1425 slip_wheel_ev.stop (); 1426 slip_wheel_ev.stop ();
1873#ifdef MOUSE_REPORT_DOUBLECLICK 1874#ifdef MOUSE_REPORT_DOUBLECLICK
1874 if (ev.button == MEvent.button && clickintime) 1875 if (ev.button == MEvent.button && clickintime)
1875 { 1876 {
1876 /* same button, within alloted time */ 1877 /* same button, within alloted time */
1877 MEvent.clicks++; 1878 MEvent.clicks++;
1879
1878 if (MEvent.clicks > 1) 1880 if (MEvent.clicks > 1)
1879 { 1881 {
1880 /* only report double clicks */ 1882 /* only report double clicks */
1881 MEvent.clicks = 2; 1883 MEvent.clicks = 2;
1882 mouse_report (ev); 1884 mouse_report (ev);
2090 } 2092 }
2091 2093
2092 break; 2094 break;
2093 } 2095 }
2094 } 2096 }
2097
2095 return; 2098 return;
2096 } 2099 }
2100
2097#if MENUBAR 2101#if MENUBAR
2098 /* 2102 /*
2099 * Menubar window processing of button press 2103 * Menubar window processing of button press
2100 */ 2104 */
2101 if (isMenuBarWindow (ev.window)) 2105 if (isMenuBarWindow (ev.window))
2164 if (priv_modes & PrivMode_mouse_report 2168 if (priv_modes & PrivMode_mouse_report
2165 && bypass_keystate 2169 && bypass_keystate
2166 && ev.button == Button1 && MEvent.clicks <= 1) 2170 && ev.button == Button1 && MEvent.clicks <= 1)
2167 selection_extend (ev.x, ev.y, 0); 2171 selection_extend (ev.x, ev.y, 0);
2168 2172
2169 if (!HOOK_INVOKE ((this, HOOK_BUTTON_RELEASE, DT_XEVENT, &ev, DT_END))) 2173 if (HOOK_INVOKE ((this, HOOK_BUTTON_RELEASE, DT_XEVENT, &ev, DT_END)))
2170 return; 2174 return;
2171 2175
2172 switch (ev.button) 2176 switch (ev.button)
2173 { 2177 {
2174 case Button1: 2178 case Button1:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines