mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Add simple foreign toplevel implementation
This commit is contained in:
parent
7dc4ae36ca
commit
042ea266a5
7 changed files with 91 additions and 2 deletions
11
src/foreign.c
Normal file
11
src/foreign.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "labwc.h"
|
||||
|
||||
void
|
||||
foreign_toplevel_handle_create(struct view *view)
|
||||
{
|
||||
view->toplevel_handle = wlr_foreign_toplevel_handle_v1_create(
|
||||
view->server->foreign_toplevel_manager);
|
||||
view_update_title(view);
|
||||
wlr_foreign_toplevel_handle_v1_output_enter(view->toplevel_handle,
|
||||
view_wlr_output(view));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue