Skip to content

Commit

Permalink
fix focusing on immersive
Browse files Browse the repository at this point in the history
  • Loading branch information
watasuke102 committed Jan 16, 2023
1 parent ddd3aad commit 691d0ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zen/ui/zigzag-layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,9 @@ notify_click_recursive(struct wl_list *nodes, double x, double y)
bool
zn_zigzag_layout_notify_click(struct zn_zigzag_layout *self, double x, double y)
{
struct zn_server *server = zn_server_get_singleton();
if (server->display_system == ZN_DISPLAY_SYSTEM_IMMERSIVE) {
return false;
}
return notify_click_recursive(&self->zigzag_layout->node_list, x, y);
}

0 comments on commit 691d0ef

Please sign in to comment.