opt: rmove useless code
This commit is contained in:
@@ -7774,11 +7774,9 @@ void xwaylandready(struct wl_listener *listener, void *data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void setgeometrynotify(struct wl_listener *listener, void *data) {
|
static void setgeometrynotify(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
Client *c = wl_container_of(listener, c, set_geometry);
|
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, c->surface.xwayland->x, c->surface.xwayland->y);
|
||||||
wlr_scene_node_set_position(&c->scene->node, xsurface->x, xsurface->y);
|
|
||||||
motionnotify(0, NULL, 0, 0, 0, 0);
|
motionnotify(0, NULL, 0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user