mirror of
https://github.com/labwc/labwc.git
synced 2026-02-07 04:07:42 -05:00
HiDPI: send enter and leave events to views when switching monitors
This commit is contained in:
parent
1d92404108
commit
6698ca7300
4 changed files with 29 additions and 10 deletions
|
|
@ -213,6 +213,7 @@ struct view {
|
|||
enum view_type type;
|
||||
const struct view_impl *impl;
|
||||
struct wl_list link;
|
||||
struct output *output;
|
||||
|
||||
union {
|
||||
struct wlr_xdg_surface *xdg_surface;
|
||||
|
|
@ -376,8 +377,7 @@ void view_for_each_surface(struct view *view,
|
|||
wlr_surface_iterator_func_t iterator, void *user_data);
|
||||
void view_for_each_popup_surface(struct view *view,
|
||||
wlr_surface_iterator_func_t iterator, void *data);
|
||||
void view_output_enter(struct view *view, struct wlr_output *wlr_output);
|
||||
void view_output_leave(struct view *view, struct wlr_output *wlr_output);
|
||||
void view_discover_output(struct view *view);
|
||||
void view_move_to_edge(struct view *view, const char *direction);
|
||||
void view_snap_to_edge(struct view *view, const char *direction);
|
||||
const char *view_get_string_prop(struct view *view, const char *prop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue