opt: remove useless code

This commit is contained in:
DreamMaoMao 2026-02-25 17:35:19 +08:00
parent bc5cf2c7d7
commit 43d0f0f54a

View file

@ -488,8 +488,6 @@ typedef struct {
typedef struct {
struct wlr_xdg_popup *wlr_popup;
Client *client;
LayerSurface *layer;
uint32_t type;
struct wl_listener destroy;
struct wl_listener commit;
@ -2622,8 +2620,6 @@ static void commitpopup(struct wl_listener *listener, void *data) {
goto commitpopup_listen_free;
}
popup->client = c;
popup->layer = l;
popup->type = type;
popup->wlr_popup = wkr_popup;