Skip to content

Conversation

@nemalex
Copy link

@nemalex nemalex commented Nov 26, 2025

The openwindow event format is WINDOWADDRESS,WORKSPACENAME,WINDOWCLASS,WINDOWTITLE, but the handler was parsing args.at(2) as title and args.at(3) as class, which is reversed.

This caused windows to display their class name instead of their actual title when the openwindow event arrived after windowtitlev2, since updateInitial would overwrite the correct title with the class.

Link to official IPC format: https://wiki.hypr.land/IPC/#events-list

…dler

The openwindow event format is ADDRESS,WORKSPACE,CLASS,TITLE but the
handler was parsing args.at(2) as title and args.at(3) as class,
which is reversed.

This caused windows to display their class name instead of their
actual title when the openwindow event arrived after windowtitlev2,
since updateInitial would overwrite the correct title with the class.
@nemalex nemalex changed the title hyprland/ipc: swap windowTitle and windowClass in openwindow handler hyprland/ipc: fix parsing order of windowTitle and windowClass in openwindow handler Nov 28, 2025
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