mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-15 04:27:47 -05:00
fix: crash when pointerfocus to a null scene client
This commit is contained in:
parent
de867294dc
commit
910bb78dab
1 changed files with 1 additions and 1 deletions
|
|
@ -4263,7 +4263,7 @@ void pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy,
|
|||
uint32_t time) {
|
||||
struct timespec now;
|
||||
|
||||
if (sloppyfocus && !start_drag_window && c && time &&
|
||||
if (sloppyfocus && !start_drag_window && c && time && c->scene &&
|
||||
c->scene->node.enabled && !c->animation.tagining &&
|
||||
(surface != seat->pointer_state.focused_surface) &&
|
||||
!client_is_unmanaged(c) && VISIBLEON(c, c->mon))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue