fix borders
This commit is contained in:
6
src/wm.c
6
src/wm.c
@ -193,9 +193,9 @@ void wm_ws_tree_insert_client(Wm *wm, Workspace *ws, Client *client)
|
|||||||
ws->tree.type = NODE_CLIENT;
|
ws->tree.type = NODE_CLIENT;
|
||||||
ws->tree.client = client;
|
ws->tree.client = client;
|
||||||
ws->tree.pos = (Rect) {
|
ws->tree.pos = (Rect) {
|
||||||
.x = 0, .y = dock_y,
|
.x = wm->cfg_border_width, .y = wm->cfg_border_width + dock_y ,
|
||||||
.w = ws->monitor->info.width,
|
.w = ws->monitor->info.width - wm->cfg_border_width*2,
|
||||||
.h = ws->monitor->info.height - dock_y,
|
.h = ws->monitor->info.height - wm->cfg_border_width*2 - dock_y,
|
||||||
};
|
};
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user