refactor: clean ECS queries to PendingSurfaceState

This commit is contained in:
En-En 2025-12-16 13:40:32 +00:00 committed by Supreeeme
parent b6fe8e87cf
commit 979eab242e
2 changed files with 7 additions and 14 deletions

View file

@ -273,7 +273,6 @@ impl SurfaceEvents {
target: Entity,
state: &mut ServerState<C>,
) {
let connection = &mut state.connection;
let state = &mut state.inner;
let xdg_surface::Event::Configure { serial } = event else {
unreachable!();