Skip to content

Commit

Permalink
return nothing in xytonode()
Browse files Browse the repository at this point in the history
we do not use the node
  • Loading branch information
sevz17 committed Aug 22, 2023
1 parent d756987 commit 4b8c1bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static void urgent(struct wl_listener *listener, void *data);
static void view(const Arg *arg);
static void virtualkeyboard(struct wl_listener *listener, void *data);
static Monitor *xytomon(double x, double y);
static struct wlr_scene_node *xytonode(double x, double y, struct wlr_surface **psurface,
static void xytonode(double x, double y, struct wlr_surface **psurface,
Client **pc, LayerSurface **pl, double *nx, double *ny);
static void zoom(const Arg *arg);

Expand Down Expand Up @@ -2620,7 +2620,7 @@ xytomon(double x, double y)
return o ? o->data : NULL;
}

struct wlr_scene_node *
void
xytonode(double x, double y, struct wlr_surface **psurface,
Client **pc, LayerSurface **pl, double *nx, double *ny)
{
Expand Down Expand Up @@ -2649,7 +2649,6 @@ xytonode(double x, double y, struct wlr_surface **psurface,
if (psurface) *psurface = surface;
if (pc) *pc = c;
if (pl) *pl = l;
return node;
}

void
Expand Down

0 comments on commit 4b8c1bf

Please sign in to comment.