Backends: GLFW: improve multi-viewport behavior in tiling WMs (X11) (#8884, #8474, #8289)

- Implement _NET_WM_WINDOW_TYPE_DIALOG for viewports
- Fix override_redirect for proper WM control
- Tested on i3wm and xfce4
This commit is contained in:
ikos3k
2025-08-13 17:18:58 +02:00
committed by ocornut
parent 3dcd17f402
commit 6b2cdf29bc
2 changed files with 39 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ LIBS =
ifeq ($(UNAME_S), Linux) #LINUX
ECHO_MESSAGE = "Linux"
LIBS += $(LINUX_GL_LIBS) `pkg-config --static --libs glfw3`
LIBS += $(LINUX_GL_LIBS) -lX11 `pkg-config --static --libs glfw3`
CXXFLAGS += `pkg-config --cflags glfw3`
CFLAGS = $(CXXFLAGS)