improve basic multi output support
This commit is contained in:
@ -94,8 +94,11 @@ void diyac_init_foreign_toplevel(struct diyac_view *view)
|
||||
toplevel->destroy.notify = handle_destroy;
|
||||
wl_signal_add(&toplevel->handle->events.destroy, &toplevel->destroy);
|
||||
|
||||
wlr_foreign_toplevel_handle_v1_output_enter(
|
||||
view->toplevel.handle, view->output->wlr_output);
|
||||
if(view->output)
|
||||
{
|
||||
wlr_foreign_toplevel_handle_v1_output_enter(
|
||||
view->toplevel.handle, view->output->wlr_output);
|
||||
}
|
||||
//wlr_foreign_toplevel_handle_v1_output_enter
|
||||
struct wlr_xdg_toplevel *xdg_toplevel = view->xdg_toplevel;
|
||||
if (!xdg_toplevel->parent)
|
||||
|
Reference in New Issue
Block a user