mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 09:50:18 +02:00
* Add detection in fly, better detection of KDE DE. Fixes issue #40805
This commit is contained in:
parent
605b21af8c
commit
36112193dc
@ -168,7 +168,7 @@ begin
|
||||
if (XTermProgram='') then
|
||||
begin
|
||||
D:=LowerCase(GetEnvironmentVariable('DESKTOP_SESSION'));
|
||||
If (Pos('kde',D)<>0) then
|
||||
If (D='plasma') or (Pos('kde',D)<>0) then
|
||||
begin
|
||||
TestTerminal(konsole);
|
||||
end
|
||||
@ -176,6 +176,12 @@ begin
|
||||
begin
|
||||
TestTerminal(gnometerm);
|
||||
end
|
||||
else if (D='fly') then
|
||||
begin
|
||||
// default `fly-term` has a bug!
|
||||
If not TestTerminal(konsole) then
|
||||
TestTerminal(xterm);
|
||||
end
|
||||
else if (D='windowmaker') then
|
||||
begin
|
||||
If not TestTerminal(aterm) then
|
||||
|
Loading…
Reference in New Issue
Block a user