mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 05:55:58 +01:00
parent
b2d478a418
commit
4d7ff3cb48
1 changed files with 4 additions and 2 deletions
|
@ -39,8 +39,10 @@ static void handle_request_configure(struct wl_listener *listener, void *data) {
|
|||
}
|
||||
|
||||
static void activate(struct roots_view *view, bool active) {
|
||||
wlr_xwayland_surface_activate(view->desktop->xwayland,
|
||||
view->xwayland_surface);
|
||||
if (active) {
|
||||
wlr_xwayland_surface_activate(view->desktop->xwayland,
|
||||
view->xwayland_surface);
|
||||
}
|
||||
}
|
||||
|
||||
void handle_xwayland_surface(struct wl_listener *listener, void *data) {
|
||||
|
|
Loading…
Reference in a new issue