… | … | ||
---|---|---|---|
292 | $cb->($last_enter_count); | 292 | $cb->($last_enter_count); |
293 | $w->hide; | 293 | $w->hide; |
294 | $w = undef; | 294 | $w = undef; |
295 | } | 295 | } |
296 | ); | 296 | ); |
297 | $entry->focus_in; | 297 | $entry->grab_focus; |
298 | $w->show; | 298 | $w->show; |
299 | 299 | ||
300 | } | 300 | } |
301 | 301 | ||
302 | sub update_widgets { | 302 | sub update_widgets { |
… | … | ||
488 | ." directly without modifier! It would damage the completer handling." | 488 | ." directly without modifier! It would damage the completer handling." |
489 | ); | 489 | ); |
490 | return; | 490 | return; |
491 | } | 491 | } |
492 | 492 | ||
493 | $entry->focus_out; | 493 | $entry->grab_focus; |
494 | 494 | ||
495 | $cb->($mod, $sym); | 495 | $cb->($mod, $sym); |
496 | 496 | ||
497 | $w->destroy | 497 | $w->destroy |
498 | }); | 498 | }); |
499 | 499 | ||
500 | $entry->focus_in; | 500 | $entry->grab_focus; |
501 | $w->show; | 501 | $w->show; |
502 | } | 502 | } |
503 | 503 | ||
504 | sub keycombo_to_name { | 504 | sub keycombo_to_name { |
505 | my ($mod, $sym) = @_; | 505 | my ($mod, $sym) = @_; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |