Skip to content

Commit

Permalink
fixup! tmp: start refactoring view ownership to use shared_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
ammen99 committed Jul 28, 2023
1 parent 057bfc6 commit 030e6c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/single_plugins/move.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ class wayfire_move : public wf::per_output_plugin_instance_t,
return;
}

auto input = get_input_coords();
auto input = get_input_coords();
slot.preview = wf::tracking_allocator_t<wf::view_interface_t>::get()
.allocate<wf::preview_indication_view_t>(wf::geometry_t{input.x, input.y, 1, 1}, "move");

Expand Down
2 changes: 1 addition & 1 deletion src/view/view-impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class view_interface_t::view_priv_impl
{
public:
wlr_surface *wsurface = nullptr;
size_t last_view_cnt = 0;
size_t last_view_cnt = 0;

bool keyboard_focus_enabled = true;
uint32_t allowed_actions = VIEW_ALLOW_ALL;
Expand Down

0 comments on commit 030e6c8

Please sign in to comment.