Skip to content

libtaskmanager: Fix initialization of IsActive in WaylandTasksModel

Vlad Zahorodnii requested to merge work/cherry-pick-df5a6097 into Plasma/6.0

The IsActive role does not represent state_active anymore, but rather the activeWindow property of the WaylandTasksModel::Private.

Unlike Wayland windows, X11 windows can be already active when they are added. So this case needs to be handled in order to properly initialize the activeWindow property.

BUG: 478951

(cherry picked from commit df5a6097)

Merge request reports

Loading