keyboardManager: Adopt to changes in meta_display_freeze_keyboard
This commit is contained in:
parent
a72dca3610
commit
ea552ea157
@ -35,7 +35,7 @@ function releaseKeyboard() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function holdKeyboard() {
|
function holdKeyboard() {
|
||||||
global.freeze_keyboard(global.get_current_time());
|
global.display.freeze_keyboard(global.get_current_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
const KeyboardManager = new Lang.Class({
|
const KeyboardManager = new Lang.Class({
|
||||||
|
@ -1132,14 +1132,6 @@ shell_global_end_modal (ShellGlobal *global,
|
|||||||
sync_input_region (global);
|
sync_input_region (global);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
shell_global_freeze_keyboard (ShellGlobal *global,
|
|
||||||
guint32 timestamp)
|
|
||||||
{
|
|
||||||
if (global->stage_xwindow != None)
|
|
||||||
meta_display_freeze_keyboard (global->meta_display, global->stage_xwindow, timestamp);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Code to close all file descriptors before we exec; copied from gspawn.c in GLib.
|
/* Code to close all file descriptors before we exec; copied from gspawn.c in GLib.
|
||||||
*
|
*
|
||||||
* Authors: Padraig O'Briain, Matthias Clasen, Lennart Poettering
|
* Authors: Padraig O'Briain, Matthias Clasen, Lennart Poettering
|
||||||
|
@ -45,8 +45,6 @@ gboolean shell_global_begin_modal (ShellGlobal *global,
|
|||||||
MetaModalOptions options);
|
MetaModalOptions options);
|
||||||
void shell_global_end_modal (ShellGlobal *global,
|
void shell_global_end_modal (ShellGlobal *global,
|
||||||
guint32 timestamp);
|
guint32 timestamp);
|
||||||
void shell_global_freeze_keyboard (ShellGlobal *global,
|
|
||||||
guint32 timestamp);
|
|
||||||
|
|
||||||
void shell_global_set_stage_input_region (ShellGlobal *global,
|
void shell_global_set_stage_input_region (ShellGlobal *global,
|
||||||
GSList *rectangles);
|
GSList *rectangles);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user