From 772700e7a22e5abda4ed1a6943a3a7f6c81c09fd Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 28 Jul 2021 09:02:48 +0200 Subject: [PATCH] i3: disable CSD in i3 configuration OK, not a fan of using LD_PRELOAD which may break at some point, may not apply to Flatpaks, etc. Try a bit the workaround in i3 configuration and we will use preload if it's not enough. --- config | 1 + dotfiles/xsession | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/config b/config index c8819ba..64a1fc7 100644 --- a/config +++ b/config @@ -149,6 +149,7 @@ bindsym $mod+Shift+i nop "workspace-info" # Random rules no_focus [window_type="splash"] +for_window [tiling] border pixel 3 for_window [class="Shadow"] fullscreen enable for_window [window_role="PictureInPicture"] floating enable for_window [title="Firefox — Sharing Indicator"] border none, sticky enable, move position 20 ppt -5 px diff --git a/dotfiles/xsession b/dotfiles/xsession index e7715ba..58e82d5 100644 --- a/dotfiles/xsession +++ b/dotfiles/xsession @@ -13,10 +13,6 @@ export QT_QPA_PLATFORMTHEME=qt5ct # GTK3 apps try to contact org.a11y.Bus. Disable that. export NO_AT_BRIDGE=1 -# GTK3 apps should not use CSD -export GTK_CSD=0 -export LD_PRELOAD=${LD_PRELOAD}${LD_PRELOAD+:}libgtk3-nocsd.so.0 - # Environment variables unset LC_ALL [ -e ~/.zshenv ] && . ~/.zshenv