Last window is marked active when minimized by button or by right click menu. It then needs 2 clicks to raise again in both cases, the first click removes the "active" mark only if minimized by button.
adding m_pendingState.activated = false; to case ZWLR_FOREIGN_TOPLEVEL_HANDLE_V1_STATE_MINIMIZED: inside LXQtTaskbarWlrootsWindow::zwlr_foreign_toplevel_handle_v1_state in panel/backends/wayland/wlroots/lxqttaskbarwlrwm.cpp
Expected Behavior
No active window in taskbar when desktop is shown
Current Behavior
Last window is marked active when minimized by button or by right click menu. It then needs 2 clicks to raise again in both cases, the first click removes the "active" mark only if minimized by button.
Possible Solution
https://github.com/lxqt/lxqt-panel/pull/2088#issuecomment-2310831103 worked for me: