forked from mirror/dwl
make this marginally less ugly
This commit is contained in:
parent
41c3f91b03
commit
c0b05eddb8
1 changed files with 2 additions and 3 deletions
5
dwl.c
5
dwl.c
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue