Skip to content

Commit c361a25

Browse files
committed
Implement autoconfig for LXQt DE
1 parent e674304 commit c361a25

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/frontend/PlatformConfig.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,13 @@ void setupBudgieIME() {
523523
setupFcitx5InputMethod();
524524
}
525525

526+
void setupLXQtIME() {
527+
configureImConfigForFcitx5();
528+
setFcitx5EnvVarsForSession();
529+
startFcitx5IfNeeded();
530+
setupFcitx5InputMethod();
531+
}
532+
526533
void setupInputSources() {
527534
auto de = detectDesktopEnvironment();
528535

@@ -540,6 +547,8 @@ void setupInputSources() {
540547
setupMateIME();
541548
} else if(de == DesktopEnvironment::Budgie) {
542549
setupBudgieIME();
550+
} else if(de == DesktopEnvironment::LXQt) {
551+
setupLXQtIME();
543552
} else if(de == DesktopEnvironment::macOS) {
544553
#ifdef Q_OS_MACOS
545554
bool enabled = macOS::getInputSourceEnabled();

0 commit comments

Comments
 (0)