diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2023-04-06 22:23:53 +0200 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | 1e018e72b4d57c8f354b9be9686a7a75797cdcab (patch) | |
tree | 46e6c588d30ddfc43793d1980b38b8d53bf9bdd7 /sway/input | |
parent | 06ad734e70227ad0527fe11b88ad37e93005ce0c (diff) |
Delete old damage tracking code
The new scene graph abstraction handles this for us.
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seatop_move_floating.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/input/seatop_move_floating.c b/sway/input/seatop_move_floating.c index ddcd4c53..21d048ce 100644 --- a/sway/input/seatop_move_floating.c +++ b/sway/input/seatop_move_floating.c @@ -1,6 +1,5 @@ #define _POSIX_C_SOURCE 200809L #include <wlr/types/wlr_cursor.h> -#include "sway/desktop.h" #include "sway/desktop/transaction.h" #include "sway/input/cursor.h" #include "sway/input/seat.h" @@ -39,9 +38,7 @@ static void handle_tablet_tool_tip(struct sway_seat *seat, static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec) { struct seatop_move_floating_event *e = seat->seatop_data; struct wlr_cursor *cursor = seat->cursor->cursor; - desktop_damage_whole_container(e->con); container_floating_move_to(e->con, cursor->x - e->dx, cursor->y - e->dy); - desktop_damage_whole_container(e->con); transaction_commit_dirty(); } |