keyboard: fix exception: global.current_event_time is not a function
This commit is contained in:
parent
779b18bf48
commit
d2bd9efc25
@ -289,7 +289,7 @@ Keyboard.prototype = {
|
|||||||
if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key)))
|
if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let time = global.current_event_time();
|
let time = global.get_current_time();
|
||||||
if (focus instanceof Clutter.Text)
|
if (focus instanceof Clutter.Text)
|
||||||
this.Show(time);
|
this.Show(time);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user