Added patch from #4660 @mokyle

do not deactivate rail windows, just keep them always on
This commit is contained in:
Armin Novak 2022-03-16 17:32:36 +01:00 committed by akallabeth
parent 705dca41f6
commit 9bf2fde765

View File

@ -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;
}