mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
ext-workspace protocol integration
This commit is contained in:
parent
acde3b4a8b
commit
8156b91306
4 changed files with 50 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
|||
#include "output-state.h"
|
||||
#include "output-virtual.h"
|
||||
#include "protocols/cosmic-workspaces.h"
|
||||
#include "protocols/ext-workspace.h"
|
||||
#include "regions.h"
|
||||
#include "view.h"
|
||||
#include "xwayland.h"
|
||||
|
|
@ -284,6 +285,8 @@ add_output_to_layout(struct server *server, struct output *output)
|
|||
|
||||
lab_cosmic_workspace_group_output_enter(
|
||||
server->workspaces.cosmic_group, output->wlr_output);
|
||||
lab_ext_workspace_group_output_enter(
|
||||
server->workspaces.ext_group, output->wlr_output);
|
||||
|
||||
/* (Re-)create regions from config */
|
||||
regions_reconfigure_output(output);
|
||||
|
|
@ -596,6 +599,8 @@ output_config_apply(struct server *server,
|
|||
|
||||
lab_cosmic_workspace_group_output_leave(
|
||||
server->workspaces.cosmic_group, output->wlr_output);
|
||||
lab_ext_workspace_group_output_leave(
|
||||
server->workspaces.ext_group, output->wlr_output);
|
||||
|
||||
/*
|
||||
* At time of writing, wlr_output_layout_remove()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue