move config-related variables and functions to config.c
This commit is contained in:
@ -219,9 +219,9 @@ TreeNode* wm_treenode_remove_client(Wm *wm, TreeNode *root, Client *client)
|
||||
client->ws->tree = *sibling_node;
|
||||
|
||||
client->ws->tree.pos = (Rect) {
|
||||
.x = wm->cfg_border_width, .y = wm->cfg_border_width + dock_y ,
|
||||
.w = client->ws->monitor->info.width - wm->cfg_border_width*2,
|
||||
.h = client->ws->monitor->info.height - wm->cfg_border_width*2 - dock_y,
|
||||
.x = wm->config.border_width, .y = wm->config.border_width + dock_y ,
|
||||
.w = client->ws->monitor->info.width - wm->config.border_width*2,
|
||||
.h = client->ws->monitor->info.height - wm->config.border_width*2 - dock_y,
|
||||
};
|
||||
|
||||
assert(client->ws->tree.children.size == 2);
|
||||
|
Reference in New Issue
Block a user