mirror of
https://github.com/swaywm/sway.git
synced 2025-11-22 06:59:48 -05:00
Render layer surfaces and respect exclusive zone
This commit is contained in:
parent
0c8a64942e
commit
68cfa7ef67
9 changed files with 320 additions and 33 deletions
|
|
@ -84,7 +84,7 @@ static void set_activated(struct sway_view *view, bool activated) {
|
|||
wlr_xwayland_surface_activate(surface, activated);
|
||||
}
|
||||
|
||||
static void close(struct sway_view *view) {
|
||||
static void close_view(struct sway_view *view) {
|
||||
if (!assert_xwayland(view)) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -203,7 +203,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
|
|||
sway_view->iface.set_size = set_size;
|
||||
sway_view->iface.set_position = set_position;
|
||||
sway_view->iface.set_activated = set_activated;
|
||||
sway_view->iface.close = close;
|
||||
sway_view->iface.close = close_view;
|
||||
sway_view->wlr_xwayland_surface = xsurface;
|
||||
sway_view->sway_xwayland_surface = sway_surface;
|
||||
sway_view->surface = xsurface->surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue