Skip to content

Commit

Permalink
Don't let the dock take up space unless populated (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof authored and knixeur committed Oct 9, 2019
1 parent 487845b commit 0ca62ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod_dock/dock.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,8 @@ static void dock_managed_rqgeom_(WDock *dock, WRegion *reg, int flags,
break;
}
}else{
dock_geom.w=tile_size.w;
dock_geom.h=tile_size.h;
dock_geom.w=0;
dock_geom.h=0;
}
border_dock_geom.w=dock_bdw.left+dock_geom.w+dock_bdw.right;
border_dock_geom.h=dock_bdw.top+dock_geom.h+dock_bdw.bottom;
Expand Down

0 comments on commit 0ca62ae

Please sign in to comment.