Skip to content

Commit

Permalink
fix: increase timeout for paste operation
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Sep 11, 2022
1 parent 5dba1d6 commit ce85d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/panoItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class PanoItem extends BoxLayout {

if (getCurrentExtensionSettings().get_boolean('paste-on-select')) {
// See https://github.com/SUPERCILEX/gnome-clipboard-history/blob/master/extension.js#L606
this.timeoutId = timeout_add(PRIORITY_DEFAULT, 200, () => {
this.timeoutId = timeout_add(PRIORITY_DEFAULT, 250, () => {
getVirtualKeyboard().notify_keyval(get_current_event_time(), KEY_Control_L, KeyState.PRESSED);
getVirtualKeyboard().notify_keyval(get_current_event_time(), KEY_v, KeyState.PRESSED);
getVirtualKeyboard().notify_keyval(get_current_event_time(), KEY_Control_L, KeyState.RELEASED);
Expand Down

0 comments on commit ce85d39

Please sign in to comment.