From 36021021aaa04efec5a37aef10a8a3c8ac5b7637 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 6 Oct 2023 16:20:08 +1100 Subject: [PATCH] GHOST/Wayland: remove window activation on tablet proximity in Activating on tablet proximity isn't needed and would activate windows that were already active. The window manager handles activation. --- intern/ghost/intern/GHOST_SystemWayland.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/intern/ghost/intern/GHOST_SystemWayland.cc b/intern/ghost/intern/GHOST_SystemWayland.cc index 0d26335c2b1..9cb8ce7487d 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cc +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -3431,8 +3431,6 @@ static void tablet_tool_handle_proximity_in(void *data, GHOST_WindowWayland *win = ghost_wl_surface_user_data(seat->tablet.wl.surface_window); - win->activate(); - seat->system->cursor_shape_set(win->getCursorShape()); } static void tablet_tool_handle_proximity_out(void *data,