Skip to content

Commit

Permalink
wm-actions: Unminimize views in reverse to maintain stacking order (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
soreau authored Dec 1, 2023
1 parent 8f7787e commit e2efa57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/wm-actions/wm-actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ class wayfire_wm_actions_output_t : public wf::per_output_plugin_instance_t
workspace_changed.disconnect();
view_minimized.disconnect();

for (auto& view : output->wset()->get_views())
auto views = output->wset()->get_views(wf::WSET_SORT_STACKING);
for (auto& view : wf::reverse(views))
{
if (view->has_data("wm-actions-showdesktop"))
{
Expand Down

0 comments on commit e2efa57

Please sign in to comment.