aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-07-25 11:45:46 -0400
committerDevin J. Pohly <djpohly@gmail.com>2020-07-25 11:46:12 -0400
commit39f3b87f3ac83bf143280508a4a23470af9e474d (patch)
tree99452f718dd4605c2c69a62a1ef662d7e9a734ff
parent8b7cc8ada65939b12320b9c77d656401c1ca9f15 (diff)
rename activate to activatex11 for consistency
-rw-r--r--dwl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwl.c b/dwl.c
index 684a49a..04f6318 100644
--- a/dwl.c
+++ b/dwl.c
@@ -152,7 +152,7 @@ struct render_data {
};
/* function declarations */
-static void activate(struct wl_listener *listener, void *data);
+static void activatex11(struct wl_listener *listener, void *data);
static void applybounds(Client *c, struct wlr_box *bbox);
static void applyrules(Client *c);
static void arrange(Monitor *m);
@@ -275,7 +275,7 @@ static struct wl_listener xwayland_ready = {.notify = xwaylandready};
/* function implementations */
void
-activate(struct wl_listener *listener, void *data)
+activatex11(struct wl_listener *listener, void *data)
{
Client *c = wl_container_of(listener, c, activate);
@@ -577,7 +577,7 @@ createnotifyx11(struct wl_listener *listener, void *data)
c->map.notify = maprequest;
c->unmap.notify = unmapnotify;
/* Only "managed" windows can be activated */
- c->activate.notify = activate;
+ c->activate.notify = activatex11;
wl_signal_add(&xwayland_surface->events.request_activate, &c->activate);
} else {
c->map.notify = maprequestindependent;