opt: remove useless code

This commit is contained in:
DreamMaoMao 2026-02-25 17:35:19 +08:00
parent 5ee0d5c627
commit 72898a165c

View file

@ -487,8 +487,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;
@ -2584,8 +2582,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;