mirror of
https://github.com/swaywm/sway.git
synced 2026-02-05 04:06:25 -05:00
input/seat: remove dead code
This commit is contained in:
parent
ccbb811f7f
commit
500ee09be6
1 changed files with 0 additions and 5 deletions
|
|
@ -437,11 +437,6 @@ static void toplevel_drag_handle_motion(struct wl_listener *listener, void *data
|
|||
struct wlr_xdg_toplevel_drag_v1 *toplevel_drag = drag->toplevel_drag;
|
||||
struct sway_seat *seat = drag->seat;
|
||||
|
||||
if (toplevel_drag == NULL) {
|
||||
seat->toplevel_drag_container = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
// If we have a tracked surface being dragged, move its container.
|
||||
// We track the surface ourselves rather than trusting wlroots' toplevel
|
||||
// pointer, which may not be NULLed promptly during destruction.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue