Skip to content

Commit

Permalink
pointer: mark updates caused by geometry change as real updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ammen99 committed Feb 7, 2024
1 parent c538afd commit ce0c840
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/seat/pointer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "wayfire/scene.hpp"
#include "wayfire/signal-definitions.hpp"

#include "../scene-priv.hpp"
#include <wayfire/debug.hpp>
#include <wayfire/util/log.hpp>
#include <wayfire/core.hpp>
Expand All @@ -30,7 +29,7 @@ wf::pointer_t::pointer_t(nonstd::observer_ptr<wf::input_manager_t> input,
grab_surface(nullptr);
}

update_cursor_position(get_current_time(), false);
update_cursor_position(get_current_time(), (data->flags & scene::update_flag::GEOMETRY));
};

wf::get_core().scene()->connect(&on_root_node_updated);
Expand Down

0 comments on commit ce0c840

Please sign in to comment.