summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorStivvo <48280463+Stivvo@users.noreply.github.com>2020-09-16 08:55:01 +0200
committerGitHub <noreply@github.com>2020-09-16 08:55:01 +0200
commit405280fd09269c7624fc86189f253440e0bf5fbe (patch)
treeb225702b2f473d85a281c76f1c30c3dc40fc2e89 /dwl.c
parentd8570d5ceb1c4e54854c38437fe1d24d8914e09c (diff)
parent8d8d24db09625d6cf83debe068e7334fd8178eea (diff)
Merge pull request #1 from guidocella/fullscreen
fix typo
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dwl.c b/dwl.c
index 0822508..d143dd6 100644
--- a/dwl.c
+++ b/dwl.c
@@ -202,7 +202,7 @@ static Monitor *dirtomon(int dir);
static void focusclient(Client *old, Client *c, int lift);
static void focusmon(const Arg *arg);
static void focusstack(const Arg *arg);
-static void fullscreenotify(struct wl_listener *listener, void *data);
+static void fullscreennotify(struct wl_listener *listener, void *data);
static Client *focustop(Monitor *m);
static void getxdecomode(struct wl_listener *listener, void *data);
static void incnmaster(const Arg *arg);
@@ -628,7 +628,7 @@ createnotify(struct wl_listener *listener, void *data)
c->destroy.notify = destroynotify;
wl_signal_add(&xdg_surface->events.destroy, &c->destroy);
- c->fullscreen.notify = fullscreenotify;
+ c->fullscreen.notify = fullscreennotify;
wl_signal_add(&xdg_surface->toplevel->events.request_fullscreen, &c->fullscreen);
c->isfullscreen = 0;
}
@@ -729,7 +729,7 @@ setfullscreen(Client *c, int fullscreen)
}
void
-fullscreenotify(struct wl_listener *listener, void *data)
+fullscreennotify(struct wl_listener *listener, void *data)
{
Client *c = wl_container_of(listener, c, fullscreen);
setfullscreen(c, !c->isfullscreen);
@@ -1892,7 +1892,7 @@ createnotifyx11(struct wl_listener *listener, void *data)
c->destroy.notify = destroynotify;
wl_signal_add(&xwayland_surface->events.destroy, &c->destroy);
- c->fullscreen.notify = fullscreenotify;
+ c->fullscreen.notify = fullscreennotify;
wl_signal_add(&xwayland_surface->events.request_fullscreen, &c->fullscreen);
c->isfullscreen = 0;
}