mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
TMP: Deliberately sabotage 'shutdown' signal
Trying to manually trigger issue #62
This commit is contained in:
parent
5c023470d8
commit
2f938b3741
1 changed files with 6 additions and 0 deletions
|
|
@ -234,6 +234,12 @@ async function _initializeUI() {
|
|||
Clutter.get_default_backend().set_input_method(inputMethod);
|
||||
global.connect('shutdown',
|
||||
() => Clutter.get_default_backend().set_input_method(null));
|
||||
global.connect('shutdown',
|
||||
() => {
|
||||
log("shutdown called. Sleeping for a long time!!!");
|
||||
GLib.usleep(1000 * 1000 * 1000 * 1000);
|
||||
}
|
||||
);
|
||||
|
||||
screenshotUI = new Screenshot.ScreenshotUI();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue