mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-13 22:23:45 +00:00
Revert "sculpt: consider screen pos for pointer tracking"
Absolute motion events already carry global coordinates (fader session). This reverts commit 3dc05a0a89f00e40d194e7d895b525b405f57f7e. Issue #5501
This commit is contained in:
parent
33fab30a1f
commit
0736db0863
@ -977,7 +977,7 @@ struct Sculpt::Main : Input_event_handler,
|
||||
void handle_input_event(Input::Event const &ev) override
|
||||
{
|
||||
ev.handle_absolute_motion([&] (int x, int y) {
|
||||
_pointer_pos.construct(x + _screen_pos.x, y + _screen_pos.y); });
|
||||
_pointer_pos.construct(x, y); });
|
||||
|
||||
Keyboard_focus_guard focus_guard { *this };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user