Skip to content

Commit

Permalink
toplevel-view: add logging for setting view parent
Browse files Browse the repository at this point in the history
  • Loading branch information
ammen99 committed Oct 25, 2023
1 parent d7889a1 commit a6125b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/view/toplevel-view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ void wf::toplevel_view_interface_t::set_toplevel_parent(wayfire_toplevel_view ne
auto old_parent = parent;
if (parent != new_parent)
{
LOGC(VIEWS, "Setting toplevel parent of ", self(), " to ", new_parent);

/* Erase from the old parent */
unset_toplevel_parent({this});

Expand Down

0 comments on commit a6125b2

Please sign in to comment.