~ruther/dwl

c0b05eddb8c3cca888f75eab45288802ce592431 — Devin J. Pohly 4 years ago 41c3f91
make this marginally less ugly
1 files changed, 2 insertions(+), 3 deletions(-)

M dwl.c
M dwl.c => dwl.c +2 -3
@@ 977,10 977,9 @@ motionnotify(uint32_t time)
				cursor->y - c->surface.xwayland->y - c->bw, &sx, &sy);

	/* Otherwise, find the client under the pointer and send the event along. */
	} else if ((c = xytoclient(cursor->x, cursor->y))) {
#else
	if ((c = xytoclient(cursor->x, cursor->y))) {
	} else
#endif
	if ((c = xytoclient(cursor->x, cursor->y))) {
#ifdef XWAYLAND
		if (c->type != XDGShell)
			surface = wlr_surface_surface_at(c->surface.xwayland->surface,

Do not follow this link