prock
prock copied to clipboard
Wayland: Window appears as "Unknown" in GNOME Dock because app_id is not set
Hi!
I noticed an issue when running Prock on:
- Ubuntu 24.04.4 LTS
- GNOME Shell 46
- Wayland
The application starts normally, but in the GNOME dock it appears with the default gear icon and the name "Unknown" instead of being associated with prock.desktop.
The desktop entry is installed correctly, but the window is not matched to it.
I tested adding:
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "prock");
before glfwCreateWindow(), and after rebuilding the application the problem disappeared. The correct icon and application name are shown in the dock.
If you'd like, I'd be happy to submit a pull request for this change.
Nice find, thanks! Yeah, go ahead and create the PR, sure