Skip to content

Commit

Permalink
pin-view: Remove view from wset when pinning on workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
soreau committed Aug 15, 2024
1 parent 03658c6 commit 0465cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pin-view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ class wayfire_pin_view : public wf::plugin_interface_t
toplevel->set_geometry(wf::geometry_t{vg.x + (nws.x - cws.x) * og.width,
vg.y + (nws.y - cws.y) * og.height, vg.width, vg.height});
}

output->wset()->remove_view(toplevel);
}
} else
{
Expand Down

0 comments on commit 0465cab

Please sign in to comment.