… | |
… | |
1177 | handle_selection (xev.xproperty.window, xev.xproperty.atom, true); |
1177 | handle_selection (xev.xproperty.window, xev.xproperty.atom, true); |
1178 | break; |
1178 | break; |
1179 | |
1179 | |
1180 | case SelectionNotify: |
1180 | case SelectionNotify: |
1181 | if (selection_wait == Sel_normal |
1181 | if (selection_wait == Sel_normal |
1182 | && xev.xselection.time == request_time |
1182 | && xev.xselection.time == request_time) |
1183 | && xev.xselection.property == request_prop) |
|
|
1184 | { |
1183 | { |
1185 | timer_ev.stop (); |
1184 | timer_ev.stop (); |
1186 | handle_selection (xev.xselection.requestor, xev.xselection.property, true); |
1185 | handle_selection (xev.xselection.requestor, xev.xselection.property, true); |
1187 | } |
1186 | } |
1188 | break; |
1187 | break; |