diff --git a/source/gx/tilix/application.d b/source/gx/tilix/application.d index 0f112461..500f34e5 100644 --- a/source/gx/tilix/application.d +++ b/source/gx/tilix/application.d @@ -719,6 +719,14 @@ public: activateAction(ACTION_COMMAND, new GVariant(param)); } + bool isQuake() { + AppWindow appWindow = cast(AppWindow) getActiveWindow(); + if (appWindow !is null && appWindow.isQuake()) { + return true; + } + return cp.quake; + } + void addAppWindow(AppWindow window) { appWindows ~= window; //GTK add window diff --git a/source/gx/tilix/terminal/terminal.d b/source/gx/tilix/terminal/terminal.d index 3923532a..983b4dab 100644 --- a/source/gx/tilix/terminal/terminal.d +++ b/source/gx/tilix/terminal/terminal.d @@ -2738,6 +2738,9 @@ private: } } string[] envv = ["TILIX_ID=" ~ uuid]; + if (tilix.isQuake) { + envv ~= ["TILIX_QUAKE=1"]; + } foreach (arg; args) trace("Argument: " ~ arg); try {