Only check popups for focused views

This commit is contained in:
Ryan Dwyer 2018-06-05 21:48:19 +10:00
parent b4ed80eabf
commit 250367259f
4 changed files with 84 additions and 149 deletions

View file

@ -173,13 +173,6 @@ struct sway_container *container_at(struct sway_container *workspace,
double lx, double ly, struct wlr_surface **surface,
double *sx, double *sy);
/**
* Same as container_at, but only checks for popups only.
*/
struct sway_container *popup_at(struct sway_container *workspace,
double lx, double ly, struct wlr_surface **surface,
double *sx, double *sy);
/**
* Apply the function for each descendant of the container breadth first.
*/