Skip to content

Commit

Permalink
util.hpp: Fix clicking on open dialogs in scale and expo (#2448)
Browse files Browse the repository at this point in the history
Fixes #2447.
  • Loading branch information
soreau authored Sep 7, 2024
1 parent 0aa1115 commit 6796b08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/common/wayfire/plugins/common/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "wayfire/scene.hpp"
#include "wayfire/view.hpp"
#include "wayfire/output.hpp"
#include "wayfire/view-helpers.hpp"
#include "wayfire/toplevel-view.hpp"
#include "wayfire/workspace-set.hpp"
#include <memory>
Expand Down Expand Up @@ -90,7 +91,7 @@ inline wayfire_toplevel_view find_output_view_at(wf::output_t *output, const wf:

if (auto view = wf::toplevel_cast(wf::node_to_view(node)))
{
if (view->get_wset() == output->wset())
if (wf::find_topmost_parent(view)->get_wset() == output->wset())
{
return view;
}
Expand Down

0 comments on commit 6796b08

Please sign in to comment.