mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Implement focus_on_window_activation
Depends on https://github.com/swaywm/wlroots/pull/1223
This commit is contained in:
parent
159edc6d13
commit
f057a0195e
8 changed files with 86 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ struct sway_xwayland_view {
|
|||
struct wl_listener request_maximize;
|
||||
struct wl_listener request_configure;
|
||||
struct wl_listener request_fullscreen;
|
||||
struct wl_listener request_activate;
|
||||
struct wl_listener set_title;
|
||||
struct wl_listener set_class;
|
||||
struct wl_listener set_window_type;
|
||||
|
|
@ -259,6 +260,11 @@ void view_autoconfigure(struct sway_view *view);
|
|||
|
||||
void view_set_activated(struct sway_view *view, bool activated);
|
||||
|
||||
/**
|
||||
* Called when the view requests to be focused.
|
||||
*/
|
||||
void view_request_activate(struct sway_view *view);
|
||||
|
||||
void view_set_tiled(struct sway_view *view, bool tiled);
|
||||
|
||||
void view_close(struct sway_view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue