mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
s/desktop_view_at()/desktop_surface_and_view_at()/
Make is clearer what the function does.
This commit is contained in:
parent
23f28e5082
commit
1e4598cdce
3 changed files with 13 additions and 10 deletions
|
|
@ -342,11 +342,12 @@ void desktop_focus_topmost_mapped_view(struct server *server);
|
|||
bool isfocusable(struct view *view);
|
||||
|
||||
/**
|
||||
* desktop_view_at - find view or layer-surface at co-ordinate (lx, ly)
|
||||
* desktop_surface_and_view_at - find view and surface at (lx, ly)
|
||||
* Note: If surface points to layer-surface, view will be set to NULL
|
||||
*/
|
||||
struct view *desktop_view_at(struct server *server, double lx, double ly,
|
||||
struct wlr_surface **surface, double *sx, double *sy, int *view_area);
|
||||
struct view *desktop_surface_and_view_at(struct server *server, double lx,
|
||||
double ly, struct wlr_surface **surface, double *sx, double *sy,
|
||||
int *view_area);
|
||||
|
||||
void cursor_init(struct seat *seat);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue