navigator: fix escape

This commit is contained in:
Tor Hedin Brønner
2020-02-27 15:32:45 +01:00
parent d37bcb4f48
commit cfca8f7284
+1 -1
View File
@@ -115,7 +115,7 @@ var ActionDispatcher = class {
// visual destruction on key-press and signal to the release handler
// that we should destroy the dispactcher too
// https://github.com/paperwm/PaperWM/issues/70
if (keysym == Clutter.Escape) {
if (keysym == Clutter.KEY_Escape) {
this.navigator.destroy();
this._destroy = true;
return Clutter.EVENT_STOP;