Skip to content

Stop closing the shared session-bus connection per focus event - #614

Open
EzeriumChristinal wants to merge 4 commits into
BambooEngine:masterfrom
EzeriumChristinal:audit/dbus-integration
Open

EzeriumChristinal wants to merge 4 commits into
BambooEngine:masterfrom
EzeriumChristinal:audit/dbus-integration

Conversation

@EzeriumChristinal

Copy link
Copy Markdown

Part of a stack with "Load lookup data without racing or crashing; finish engine setup in the constructor" — merge in that order.

gnomeGetFocusWindowClass re-helloed and closed the process-shared session-bus connection on every FocusIn. On GNOME that meant each focus event leaked a connection or forced a reconnect. It now uses the shared connection as-is.

Wayland app id is atomic, so FocusIn cannot race the listener goroutine. Main logs chdir/RequestName/SetGlobalEngine failures instead of dropping them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant