force X11 backend for frameless window on KDE Wayland
GTK3 doesn't implement the xdg-decoration Wayland protocol, so KWin always adds server-side decorations regardless of gtk_window_set_decorated(FALSE). GDK_BACKEND=x11 forces XWayland where MOTIF_WM_HINTS reliably removes decorations. Revisit when Flutter moves to GTK4 or implements xdg-decoration natively. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ help: ## Show this help.
|
||||
|
||||
.PHONY: run
|
||||
run: ## Launch the Flutter desktop app.
|
||||
GTK_CSD=1 LD_LIBRARY_PATH=$(CURDIR)/native/linux-x64$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} flutter run -d linux
|
||||
GDK_BACKEND=x11 LD_LIBRARY_PATH=$(CURDIR)/native/linux-x64$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} flutter run -d linux
|
||||
|
||||
.PHONY: pubget
|
||||
pubget: ## flutter pub get.
|
||||
|
||||
Reference in New Issue
Block a user