From 4341deae8ff372fec198fb587f93613dc19cb4a2 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Fri, 4 Sep 2020 17:01:34 +0200 Subject: [PATCH] fix alhpabetical order --- dwl.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dwl.c b/dwl.c index 8ca58f6..529c0c7 100644 --- a/dwl.c +++ b/dwl.c @@ -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) {