Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelfmz <fenix1905@tut.by>2022-09-12 00:39:15 +0300
committerelfmz <fenix1905@tut.by>2022-09-12 00:39:15 +0300
commit81368c452c6cc5ae4a02608f0d26cda903a8531a (patch)
tree19cd81a62673705df567c68625ee7822b1e0c300
parente3e1a82d86a99af9f2c54ee0cd64583c732ad97f (diff)
apply recent workaround for forwarded x11 too
-rw-r--r--WinPort/src/Backend/WX/wxMain.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WinPort/src/Backend/WX/wxMain.cpp b/WinPort/src/Backend/WX/wxMain.cpp
index a4e8fad2..2a268a18 100644
--- a/WinPort/src/Backend/WX/wxMain.cpp
+++ b/WinPort/src/Backend/WX/wxMain.cpp
@@ -43,7 +43,7 @@
IConsoleOutput *g_winport_con_out = nullptr;
IConsoleInput *g_winport_con_in = nullptr;
-bool g_broadway = false, g_wayland = false, g_remote = false, g_xrdp = false;
+bool g_broadway = false, g_wayland = false, g_remote = false;
static int g_exit_code = 0;
enum
{
@@ -122,8 +122,7 @@ static void DetectHostAbilities()
const char *xrdp = getenv("XRDP_SESSION");
if (xrdp) {
- g_xrdp = true;
- //g_remote = true;
+ g_remote = true;
}
}
@@ -995,7 +994,7 @@ void WinPortPanel::OnTitleChangedSync( wxCommandEvent& event )
const std::wstring &title = g_winport_con_out->GetTitle();
wxGetApp().SetAppDisplayName(title.c_str());
_frame->SetTitle(title.c_str());
- if (g_xrdp) { // under xrdp - force full repaint after some time to workaround #1303
+ if (g_remote) { // under xrdp/forwarded x11 (repro?) - force full repaint after some time to workaround #1303
_repaint_on_next_timer = true;
}
}