mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
include: add config/types.h
This commit is contained in:
parent
6dea8c0dcc
commit
9d49d19cd2
54 changed files with 414 additions and 368 deletions
|
|
@ -434,11 +434,11 @@ void interactive_cancel(struct view *view);
|
|||
* Returns the edge to snap a window to.
|
||||
* For example, if the output-relative cursor position (x,y) fulfills
|
||||
* x <= (<snapping><cornerRange>) and y <= (<snapping><range>),
|
||||
* then edge1=VIEW_EDGE_UP and edge2=VIEW_EDGE_LEFT.
|
||||
* then edge1=LAB_EDGE_UP and edge2=LAB_EDGE_LEFT.
|
||||
* The value of (edge1|edge2) can be passed to view_snap_to_edge().
|
||||
*/
|
||||
bool edge_from_cursor(struct seat *seat, struct output **dest_output,
|
||||
enum view_edge *edge1, enum view_edge *edge2);
|
||||
enum lab_edge *edge1, enum lab_edge *edge2);
|
||||
|
||||
void handle_tearing_new_object(struct wl_listener *listener, void *data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue