mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-10 11:04:10 -04:00
project: not use global var
This commit is contained in:
parent
0b35b00f91
commit
21a492e961
17 changed files with 1885 additions and 1599 deletions
|
|
@ -180,8 +180,8 @@ void refresh_monitors_workspaces_status(Monitor *m) {
|
|||
}
|
||||
|
||||
void workspaces_init() {
|
||||
/* Create the global workspace manager with activation capability */
|
||||
ext_manager = wlr_ext_workspace_manager_v1_create(dpy, 1);
|
||||
/* Create the global workspace manager with server.activation capability */
|
||||
ext_manager = wlr_ext_workspace_manager_v1_create(server.dpy, 1);
|
||||
/* Initialize the global workspaces list */
|
||||
wl_list_init(&workspaces);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue