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.451 by root, Sun May 23 00:37:19 2010 UTC vs.
Revision 1.452 by sf-exg, Mon Jul 26 09:57:53 2010 UTC

1483 selection_send (ev.xselectionrequest); 1483 selection_send (ev.xselectionrequest);
1484 break; 1484 break;
1485 1485
1486 case MapNotify: 1486 case MapNotify:
1487#ifdef HAVE_BG_PIXMAP 1487#ifdef HAVE_BG_PIXMAP
1488 /* This is needed spcifically to fix the case of no window manager or a 1488 /* This is needed specifically to fix the case of no window manager or a
1489 * non-reparenting window manager. In those cases we never get first 1489 * non-reparenting window manager. In those cases we never get first
1490 * ConfigureNotify. Also that speeds startup under normal WM, by taking 1490 * ConfigureNotify. Also that speeds startup under normal WM, by taking
1491 * care of multiplicity of ConfigureNotify events arriwing while WM does 1491 * care of multiplicity of ConfigureNotify events arriving while WM does
1492 * reparenting. 1492 * reparenting.
1493 * We should not render background immidiately, as there could be several 1493 * We should not render background immediately, as there could be several
1494 * ConfigureNotify's to follow. Lets take care of all of them in one scoop 1494 * ConfigureNotify's to follow. Lets take care of all of them in one scoop
1495 * by scheduling background redraw as soon as we can, but giving a short 1495 * by scheduling background redraw as soon as we can, but giving a short
1496 * bit of time for ConfigureNotifies to arrive. 1496 * bit of time for ConfigureNotifies to arrive.
1497 * We should render background PRIOR to drawing any text, but AFTER all 1497 * We should render background PRIOR to drawing any text, but AFTER all
1498 * of ConfigureNotifys for the best results. 1498 * of ConfigureNotifys for the best results.
1869 /* save the xbutton state (for ButtonRelease) */ 1869 /* save the xbutton state (for ButtonRelease) */
1870 MEvent.state = ev.state; 1870 MEvent.state = ev.state;
1871#ifdef MOUSE_REPORT_DOUBLECLICK 1871#ifdef MOUSE_REPORT_DOUBLECLICK
1872 if (ev.button == MEvent.button && clickintime) 1872 if (ev.button == MEvent.button && clickintime)
1873 { 1873 {
1874 /* same button, within alloted time */ 1874 /* same button, within allowed time */
1875 MEvent.clicks++; 1875 MEvent.clicks++;
1876 1876
1877 if (MEvent.clicks > 1) 1877 if (MEvent.clicks > 1)
1878 { 1878 {
1879 /* only report double clicks */ 1879 /* only report double clicks */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines