Bug 47539 - goneko: wayland support
Summary: goneko: wayland support
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: goneko (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 enhancement
Assignee: Anton Zhukharev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-12 19:22 MSK by Yuri N. Sedunov
Modified: 2023-09-14 21:14 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri N. Sedunov 2023-09-12 19:22:30 MSK
В wayland-сессии котяра игнорирует курсор. Прошу исправить.
Comment 1 Anton Zhukharev 2023-09-12 22:10:20 MSK
https://packages.altlinux.org/en/tasks/329423/

Неясная проблема с go-пакетом glfw, который пишет иного подобного в терминал:

2023/09/12 22:09:01 PlatformError: Wayland: Window position retrieval not supported
2023/09/12 22:09:01 PlatformError: Wayland: Window position setting not supported

Думаю, что из-за этого котяра и игнорирует курсор в Wayland-сессии.
Comment 2 Anton Zhukharev 2023-09-14 21:14:26 MSK
https://github.com/go-gl/glfw/blob/master/v3.3/glfw/glfw/src/wl_window.c#L1957

void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos)
{
    // A Wayland client is not aware of its position, so just warn and leave it
    // as (0, 0)

    _glfwInputError(GLFW_PLATFORM_ERROR,
                    "Wayland: Window position retrieval not supported");
}

void _glfwPlatformSetWindowPos(_GLFWwindow* window, int xpos, int ypos)
{
    // A Wayland client can not set its position, so just warn

    _glfwInputError(GLFW_PLATFORM_ERROR,
                    "Wayland: Window position setting not supported");
}