Skip to content

X11 window is renamed after creation #282

@carado

Description

@carado

In X11, using the window builder with with_title creates the window without a title and then very shortly after renames the window as it should.

The problem with that is that my window manager (i3) chooses on which desktop to open windows and whether to put them in floating mode based on their name, and sometimes it catches the window's name before it is changed, causing the window to briefly appear (in my case) in non-floating mode and then immediately after to go in floating mode (as it should be from the start); but the brief non-floating period can mess up other windows opened on the same desktop in i3.

I realize this is a very minor and specific nitpick, but I don't have that problem developing with GLFW, so surely it's possible to set a window's name directly as it is created on X11.

(I was redirected here from rust-windowing/glutin#932 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - x11Affects the X11 backend, or generally free Unix platforms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions