fix borders

This commit is contained in:
2023-07-04 16:07:24 +02:00
parent bcbe755176
commit 3252773ff7

View File

@ -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;
}