aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h1
-rw-r--r--dwl.c8
2 files changed, 0 insertions, 9 deletions
diff --git a/config.def.h b/config.def.h
index d821a96..53021cf 100644
--- a/config.def.h
+++ b/config.def.h
@@ -75,7 +75,6 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XKB_KEY_space, setlayout, {0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
- { MODKEY, XKB_KEY_e, togglefullscreen, {0} },
{ MODKEY, XKB_KEY_0, view, {.ui = ~0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_parenright, tag, {.ui = ~0} },
{ MODKEY, XKB_KEY_comma, focusmon, {.i = -1} },
diff --git a/dwl.c b/dwl.c
index 4c03717..6d51236 100644
--- a/dwl.c
+++ b/dwl.c
@@ -278,7 +278,6 @@ static void tag(const Arg *arg);
static void tagmon(const Arg *arg);
static void tile(Monitor *m);
static void togglefloating(const Arg *arg);
-static void togglefullscreen(const Arg *arg);
static void toggletag(const Arg *arg);
static void toggleview(const Arg *arg);
static void unmaplayersurface(LayerSurface *layersurface);
@@ -1054,13 +1053,6 @@ destroyxdeco(struct wl_listener *listener, void *data)
}
void
-togglefullscreen(const Arg *arg)
-{
- Client *sel = selclient();
- setfullscreen(sel, !sel->isfullscreen);
-}
-
-void
setfullscreen(Client *c, int fullscreen)
{
c->isfullscreen = fullscreen;