[gnome-shell/wip/carlosg/cleanup-gtk-usage: 4/12] modalDialog: Do not sync display here
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/cleanup-gtk-usage: 4/12] modalDialog: Do not sync display here
- Date: Wed, 28 Nov 2018 16:50:43 +0000 (UTC)
commit bc517e493a1c1420f83f47ec5eed87b857812069
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 27 13:35:46 2018 +0100
modalDialog: Do not sync display here
This gdk_display_sync() call was added in commit a40daa3c22 so the alt-f2
dialog is able to spawn commands that trigger grabs on startup (eg. xmag/
xkill).
This seems worthwhile to do only on the X11 backend, and handling it in
mutter backend code seems cleaner.
js/ui/modalDialog.js | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js
index aff894fd5..7c10b2141 100644
--- a/js/ui/modalDialog.js
+++ b/js/ui/modalDialog.js
@@ -1,7 +1,6 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Clutter = imports.gi.Clutter;
-const Gdk = imports.gi.Gdk;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Lang = imports.lang;
@@ -200,7 +199,6 @@ var ModalDialog = new Lang.Class({
else
this._savedKeyFocus = null;
Main.popModal(this._group, timestamp);
- Gdk.Display.get_default().sync();
this._hasModal = false;
if (!this._shellReactive)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]