… | |
… | |
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); |