Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/daemon/TreelandConnector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ static void renderDisabled([[maybe_unused]] void *data, struct wl_callback *call
VirtualTerminal::handleVtSwitches(activeVtFd);
close(activeVtFd);

conn->activateSession();
conn->enableRender();
conn->switchToUser(user.isEmpty() ? "dde" : user);
} else {
Expand Down
3 changes: 2 additions & 1 deletion src/daemon/VirtualTerminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ namespace DDM {

daemonApp->signalHandler()->addCustomSignal(RELEASE_DISPLAY_SIGNAL);
daemonApp->signalHandler()->addCustomSignal(ACQUIRE_DISPLAY_SIGNAL);
QObject::connect(daemonApp->signalHandler(), &SignalHandler::customSignalReceived, onVtSignal);
QObject::connect(daemonApp->signalHandler(), &SignalHandler::customSignalReceived,
daemonApp->signalHandler(), onVtSignal, Qt::UniqueConnection);
Comment on lines 118 to +121

return ok;
}
Expand Down
Loading