From b284c51c86442a51a305d50540336f60a80146b2 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 23 Aug 2022 20:56:37 -0700 Subject: [PATCH] Check Focus-Proxy-Window.FocusProxy close #151 --- src/client/x11_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/x11_client.rs b/src/client/x11_client.rs index 7b26fce..c68a8a7 100644 --- a/src/client/x11_client.rs +++ b/src/client/x11_client.rs @@ -48,7 +48,7 @@ impl Client for X11Client { loop { if let Some(wm_class) = get_wm_class(conn, window) { // Workaround: https://github.com/JetBrains/jdk8u_jdk/blob/master/src/solaris/classes/sun/awt/X11/XFocusProxyWindow.java#L35 - if &wm_class != "FocusProxy" { + if &wm_class != "Focus-Proxy-Window.FocusProxy" { return Some(wm_class); } }