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.client = client;
|
||||
ws->tree.pos = (Rect) {
|
||||
.x = 0, .y = dock_y,
|
||||
.w = ws->monitor->info.width,
|
||||
.h = ws->monitor->info.height - dock_y,
|
||||
.x = wm->cfg_border_width, .y = wm->cfg_border_width + dock_y ,
|
||||
.w = ws->monitor->info.width - wm->cfg_border_width*2,
|
||||
.h = ws->monitor->info.height - wm->cfg_border_width*2 - dock_y,
|
||||
};
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user