From 1ca210e7666d1887d488a90a486b366b53b4642e Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 24 Feb 2018 11:12:16 +0000 Subject: [PATCH] compton: enable 'use-ewmh-active-win' for reliable focus changes --- .config/compton.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/compton.conf b/.config/compton.conf index fc2c69d..8cd53bb 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -50,7 +50,7 @@ backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typical # much faster but depends on a sane driver. mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus). -use-ewmh-active-win = false; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused +use-ewmh-active-win = true; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused # instead of using FocusIn/Out events. Usually more reliable but # depends on a EWMH-compliant WM. detect-rounded-corners = false; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.