From a280691b723c27b5051022a11c880cc12295f696 Mon Sep 17 00:00:00 2001 From: Hummer12007 Date: Thu, 13 Oct 2016 00:34:02 +0300 Subject: [PATCH] Updated Running programs natively under Wayland (markdown) --- Running-programs-natively-under-Wayland.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Running-programs-natively-under-Wayland.md b/Running-programs-natively-under-Wayland.md index a6d8e05..4ae13f9 100644 --- a/Running-programs-natively-under-Wayland.md +++ b/Running-programs-natively-under-Wayland.md @@ -8,6 +8,11 @@ GDK_BACKEND=wayland CLUTTER_BACKEND=wayland ``` +GTK+3 renders CSD (client-side decorations) under the wayland by default. To disable them, apply the following patch to GTK+: `[https://aur.archlinux.org/cgit/aur.git/plain/gtk3-make-csd-optional.patch?h=gtk3-optional-csd](https://aur.archlinux.org/cgit/aur.git/plain/gtk3-make-csd-optional.patch?h=gtk3-optional-csd)` and set: +``` +GTK_CSD=0 +``` + ## Qt5 ``` QT_QPA_PLATFORM=wayland-egl @@ -34,4 +39,4 @@ SDL_VIDEODRIVER=wayland Some Java AWT applications would not display properly unless you set the following. ``` _JAVA_AWT_WM_NONREPARENTING=1` -``` +``` \ No newline at end of file