From 9bf2fde7651bf5eb0111912cf65854a287901f4c Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 16 Mar 2022 17:32:36 +0100 Subject: [PATCH] Added patch from #4660 @mokyle do not deactivate rail windows, just keep them always on --- client/X11/xf_event.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/X11/xf_event.c b/client/X11/xf_event.c index f17e2a22a..27e2a49ab 100644 --- a/client/X11/xf_event.c +++ b/client/X11/xf_event.c @@ -608,7 +608,6 @@ static BOOL xf_event_FocusIn(xfContext* xfc, const XFocusInEvent* event, BOOL ap if (app) { xfAppWindow* appWindow; - xf_rail_send_activate(xfc, event->window, TRUE); appWindow = xf_AppWindowFromX11Window(xfc, event->window); /* Update the server with any window changes that occurred while the window was not focused. @@ -635,9 +634,6 @@ static BOOL xf_event_FocusOut(xfContext* xfc, const XFocusOutEvent* event, BOOL xf_keyboard_release_all_keypress(xfc); - if (app) - xf_rail_send_activate(xfc, event->window, FALSE); - return TRUE; }