mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05:00
Separate root-related code
This creates a root.c and moves bits and pieces from elsewhere into it. * layout_init has been renamed to root_create and moved into root.c * root_destroy has been created and is called on shutdown * scratchpad code has been moved into root.c, because hidden scratchpad containers are stored in the root struct
This commit is contained in:
parent
5de2223c6d
commit
04489ff420
12 changed files with 292 additions and 275 deletions
|
|
@ -7,7 +7,6 @@ sway_sources = files(
|
|||
'debug-tree.c',
|
||||
'ipc-json.c',
|
||||
'ipc-server.c',
|
||||
'scratchpad.c',
|
||||
'security.c',
|
||||
'swaynag.c',
|
||||
|
||||
|
|
@ -150,6 +149,7 @@ sway_sources = files(
|
|||
'tree/arrange.c',
|
||||
'tree/container.c',
|
||||
'tree/layout.c',
|
||||
'tree/root.c',
|
||||
'tree/view.c',
|
||||
'tree/workspace.c',
|
||||
'tree/output.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue