Remove unneeded selmon

This commit is contained in:
Palanix 2022-01-18 20:41:52 +01:00
parent be993d3072
commit 7920ba0cd5

1
dwl.c
View File

@ -887,7 +887,6 @@ createnotify(struct wl_listener *listener, void *data)
Client *c;
if (xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP) {
Monitor *selmo = xytomon(cursor->x, cursor->y);
Client *c = wlr_xdg_surface_from_wlr_surface(xdg_surface->popup->parent)->data;
struct wlr_box pop_box = {
.x = 0,