mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 18:24:16 +00:00
xwayland: add server and basic window functionality
This commit is contained in:
parent
b3eb7b3c89
commit
978c27d716
4
dwl.c
4
dwl.c
@ -956,9 +956,9 @@ pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy,
|
||||
uint32_t time)
|
||||
{
|
||||
/* Use top level surface if nothing more specific given */
|
||||
if (c && !surface) {
|
||||
if (c && !surface)
|
||||
surface = WLR_SURFACE(c);
|
||||
}
|
||||
|
||||
/* If surface is already focused, only notify of motion */
|
||||
if (surface && surface == seat->pointer_state.focused_surface) {
|
||||
wlr_seat_pointer_notify_motion(seat, time, sx, sy);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user