mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Merge pull request #2820 from Emantor/fix-mouse-warping-container
Fix mouse warping container
This commit is contained in:
commit
765c80e5f7
8 changed files with 102 additions and 68 deletions
|
|
@ -46,6 +46,11 @@ void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec,
|
|||
uint32_t button, enum wlr_button_state state);
|
||||
|
||||
void cursor_set_image(struct sway_cursor *cursor, const char *image,
|
||||
struct wl_client *client);
|
||||
struct wl_client *client);
|
||||
|
||||
void cursor_warp_to_container(struct sway_cursor *cursor,
|
||||
struct sway_container *container);
|
||||
|
||||
void cursor_warp_to_workspace(struct sway_cursor *cursor,
|
||||
struct sway_workspace *workspace);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -329,7 +329,8 @@ void view_destroy(struct sway_view *view);
|
|||
|
||||
void view_begin_destroy(struct sway_view *view);
|
||||
|
||||
void view_map(struct sway_view *view, struct wlr_surface *wlr_surface);
|
||||
void view_map(struct sway_view *view, struct wlr_surface *wlr_surface,
|
||||
bool fullscreen, bool decoration);
|
||||
|
||||
void view_unmap(struct sway_view *view);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue