X11 DisplayServer does not set correct _NET_WM_WINDOW_TYPE
for dialogs, causing issues with tiling window managers (DisplayServer regression)
#55415
Milestone
Godot version
v4.0.dev.custom_build [69a194f]
System information
Linux, x11, nvidia
Issue description
Many new windows what is created has
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
what creates jarring user experience with Tiling Window Managers.I would recommend change
_NET_WM_WINDOW_TYPE(ATOM)
set to_NET_WM_WINDOW_TYPE_DIALOG
for all dialog windows.Places where this should be changed to
_NET_WM_WINDOW_TYPE_DIALOG
as I found out in fast testing is:_NET_WM_WINDOW_TYPE
=NORMAL
.Other Node
as base type.On many applications only main window type is set to
_NET_WM_WINDOW_TYPE_NORMAL
and all others are set to other ones (mostly to_NET_WM_WINDOW_TYPE_DIALOG
). And this is how most of tiling window managers are coded to handle_NET_WM_WINDOW_TYPE_DIALOG
as floating window automatically.Here is one possible fix for this.
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: