fix alhpabetical order

This commit is contained in:
Guido Cella 2020-09-04 17:01:34 +02:00
parent 5dc9460044
commit 4341deae8f

16
dwl.c
View file

@ -263,8 +263,8 @@ static void togglefloating(const Arg *arg);
static void toggletag(const Arg *arg);
static void toggleview(const Arg *arg);
static void unmaplayersurface(LayerSurface *layersurface);
static void unmapnotify(struct wl_listener *listener, void *data);
static void unmaplayersurfacenotify(struct wl_listener *listener, void *data);
static void unmapnotify(struct wl_listener *listener, void *data);
static void view(const Arg *arg);
static Client *xytoclient(double x, double y);
static struct wlr_surface *xytolayersurface(struct wl_list *layer_surfaces,
@ -2098,6 +2098,13 @@ unmaplayersurface(LayerSurface *layersurface)
motionnotify(0); // XXX why doesn't this work?
}
void
unmaplayersurfacenotify(struct wl_listener *listener, void *data)
{
LayerSurface *layersurface = wl_container_of(listener, layersurface, unmap);
unmaplayersurface(layersurface);
}
void
unmapnotify(struct wl_listener *listener, void *data)
{
@ -2113,13 +2120,6 @@ unmapnotify(struct wl_listener *listener, void *data)
wl_list_remove(&c->slink);
}
void
unmaplayersurfacenotify(struct wl_listener *listener, void *data)
{
LayerSurface *layersurface = wl_container_of(listener, layersurface, unmap);
unmaplayersurface(layersurface);
}
void
view(const Arg *arg)
{