… | |
… | |
1492 | #endif |
1492 | #endif |
1493 | } |
1493 | } |
1494 | break; |
1494 | break; |
1495 | |
1495 | |
1496 | case PropertyNotify: |
1496 | case PropertyNotify: |
|
|
1497 | if (!HOOK_INVOKE ((this, HOOK_PROPERTY_NOTIFY, DT_XEVENT, &ev, DT_END))) |
1497 | if (ev.xproperty.atom == xa[XA_VT_SELECTION] |
1498 | if (ev.xproperty.atom == xa[XA_VT_SELECTION] |
1498 | && ev.xproperty.state == PropertyNewValue) |
1499 | && ev.xproperty.state == PropertyNewValue) |
1499 | selection_property (ev.xproperty.window, ev.xproperty.atom); |
1500 | selection_property (ev.xproperty.window, ev.xproperty.atom); |
1500 | |
1501 | |
1501 | break; |
1502 | break; |
1502 | |
1503 | |
1503 | case SelectionClear: |
1504 | case SelectionClear: |
1504 | selection_clear (); |
1505 | selection_clear (); |