… | |
… | |
1562 | |
1562 | |
1563 | case SelectionRequest: |
1563 | case SelectionRequest: |
1564 | selection_send (ev.xselectionrequest); |
1564 | selection_send (ev.xselectionrequest); |
1565 | break; |
1565 | break; |
1566 | |
1566 | |
|
|
1567 | case MapNotify: |
|
|
1568 | mapped = 1; |
|
|
1569 | #ifdef TEXT_BLINK |
|
|
1570 | text_blink_ev.start (NOW + TEXT_BLINK_INTERVAL); |
|
|
1571 | #endif |
|
|
1572 | HOOK_INVOKE ((this, HOOK_MAP_NOTIFY, DT_XEVENT, &ev, DT_END)); |
|
|
1573 | break; |
|
|
1574 | |
1567 | case UnmapNotify: |
1575 | case UnmapNotify: |
1568 | mapped = 0; |
1576 | mapped = 0; |
1569 | #ifdef TEXT_BLINK |
1577 | #ifdef TEXT_BLINK |
1570 | text_blink_ev.stop (); |
1578 | text_blink_ev.stop (); |
1571 | #endif |
1579 | #endif |
1572 | break; |
1580 | HOOK_INVOKE ((this, HOOK_UNMAP_NOTIFY, DT_XEVENT, &ev, DT_END)); |
1573 | |
|
|
1574 | case MapNotify: |
|
|
1575 | mapped = 1; |
|
|
1576 | #ifdef TEXT_BLINK |
|
|
1577 | text_blink_ev.start (NOW + TEXT_BLINK_INTERVAL); |
|
|
1578 | #endif |
|
|
1579 | break; |
1581 | break; |
1580 | |
1582 | |
1581 | #ifdef TRANSPARENT |
1583 | #ifdef TRANSPARENT |
1582 | case ReparentNotify: |
1584 | case ReparentNotify: |
1583 | rootwin_cb (ev); |
1585 | rootwin_cb (ev); |
… | |
… | |
2890 | // read the next octet |
2892 | // read the next octet |
2891 | uint32_t |
2893 | uint32_t |
2892 | rxvt_term::next_octet () |
2894 | rxvt_term::next_octet () |
2893 | { |
2895 | { |
2894 | return cmdbuf_ptr < cmdbuf_endp |
2896 | return cmdbuf_ptr < cmdbuf_endp |
2895 | ? *cmdbuf_ptr++ |
2897 | ? (unsigned char)*cmdbuf_ptr++ |
2896 | : NOCHAR; |
2898 | : NOCHAR; |
2897 | } |
2899 | } |
2898 | |
2900 | |
2899 | /* rxvt_cmd_getc () - Return next input character */ |
2901 | /* rxvt_cmd_getc () - Return next input character */ |
2900 | /* |
2902 | /* |