mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
xwayland: add server and basic window functionality
This commit is contained in:
parent
b3eb7b3c89
commit
978c27d716
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue