Skip to content

Conversation

christianparpart
Copy link
Member

On Wayland, there's no such thing as WM_CLASS (X11), but a user can use the app_id to identify and group Application windows. However, Qt sets that not via QCoreApplication::setApplicationName but rather uses QCoreApplication::setOrganizationDomain's information in reverse name order.

Closes #1336.

@github-actions github-actions bot added the frontend Contour Terminal Emulator (GUI frontend) label Nov 16, 2023
@christianparpart christianparpart force-pushed the fix/appid-on-wayland branch 2 times, most recently from 9ce2d46 to 2f12910 Compare November 16, 2023 21:39
@christianparpart christianparpart force-pushed the fix/appid-on-wayland branch 2 times, most recently from ef6a592 to 83b3f9f Compare November 17, 2023 07:09
On Wayland, there's no such thing as WM_CLASS (X11), but
a user can use the `app_id` to identify and group Application windows.
However, Qt sets that not via QCoreApplication::setApplicationName but
rather uses QCoreApplication::setOrganizationDomain's information in
reverse name order.

Signed-off-by: Christian Parpart <christian@parpart.family>
Copy link
Member

@uspasojevic96 uspasojevic96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@christianparpart christianparpart merged commit 9838927 into master Nov 17, 2023
@christianparpart christianparpart deleted the fix/appid-on-wayland branch November 17, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Contour Terminal Emulator (GUI frontend) platform: wayland
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setting window class doesn't work on wayland
2 participants