… | |
… | |
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 */ |
… | |
… | |
3610 | { 6, PrivMode_relOrigin }, // DECOM |
3610 | { 6, PrivMode_relOrigin }, // DECOM |
3611 | { 7, PrivMode_Autowrap }, // DECAWM |
3611 | { 7, PrivMode_Autowrap }, // DECAWM |
3612 | // 8, auto-repeat keys // DECARM |
3612 | // 8, auto-repeat keys // DECARM |
3613 | { 9, PrivMode_MouseX10 }, |
3613 | { 9, PrivMode_MouseX10 }, |
3614 | // 18 end FF to printer after print screen |
3614 | // 18 end FF to printer after print screen |
3615 | // 19 Print screen prints full screen/scorll region |
3615 | // 19 Print screen prints full screen/scroll region |
3616 | { 25, PrivMode_VisibleCursor }, // cnorm/cvvis/civis |
3616 | { 25, PrivMode_VisibleCursor }, // cnorm/cvvis/civis |
3617 | #ifdef scrollBar_esc |
3617 | #ifdef scrollBar_esc |
3618 | { scrollBar_esc, PrivMode_scrollBar }, |
3618 | { scrollBar_esc, PrivMode_scrollBar }, |
3619 | #endif |
3619 | #endif |
3620 | { 35, PrivMode_ShiftKeys }, // rxvt extension |
3620 | { 35, PrivMode_ShiftKeys }, // rxvt extension |