opt: rmove useless code

This commit is contained in:
DreamMaoMao 2025-06-07 16:18:32 +08:00
parent 7ec47d95b1
commit c7060b546d

View file

@ -7774,11 +7774,9 @@ void xwaylandready(struct wl_listener *listener, void *data) {
}
static void setgeometrynotify(struct wl_listener *listener, void *data) {
Client *c = wl_container_of(listener, c, set_geometry);
struct wlr_xwayland_surface *xsurface = c->surface.xwayland;
wlr_scene_node_set_position(&c->scene->node, xsurface->x, xsurface->y);
wlr_scene_node_set_position(&c->scene->node, c->surface.xwayland->x, c->surface.xwayland->y);
motionnotify(0, NULL, 0, 0, 0, 0);
}
#endif