aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-09-04 17:01:34 +0200
committerGuido Cella <guidocella91@gmail.com>2020-09-04 17:01:34 +0200
commit4341deae8ff372fec198fb587f93613dc19cb4a2 (patch)
tree3f4442d2db5d1d218ffb15e13d44e5d1b35d9c98 /dwl.c
parent5dc94600446c8e6847aed388a87a5bd2aecaacac (diff)
fix alhpabetical order
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c16
1 files 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,
@@ -2099,6 +2099,13 @@ unmaplayersurface(LayerSurface *layersurface)
}
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)
{
/* Called when the surface is unmapped, and should no longer be shown. */
@@ -2114,13 +2121,6 @@ unmapnotify(struct wl_listener *listener, void *data)
}
void
-unmaplayersurfacenotify(struct wl_listener *listener, void *data)
-{
- LayerSurface *layersurface = wl_container_of(listener, layersurface, unmap);
- unmaplayersurface(layersurface);
-}
-
-void
view(const Arg *arg)
{
Client *sel = selclient();