Skip to content

Commit 0ca62ae

Browse files
raboofknixeur
authored andcommitted
Don't let the dock take up space unless populated (#206)
1 parent 487845b commit 0ca62ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mod_dock/dock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,8 +778,8 @@ static void dock_managed_rqgeom_(WDock *dock, WRegion *reg, int flags,
778778
break;
779779
}
780780
}else{
781-
dock_geom.w=tile_size.w;
782-
dock_geom.h=tile_size.h;
781+
dock_geom.w=0;
782+
dock_geom.h=0;
783783
}
784784
border_dock_geom.w=dock_bdw.left+dock_geom.w+dock_bdw.right;
785785
border_dock_geom.h=dock_bdw.top+dock_geom.h+dock_bdw.bottom;

0 commit comments

Comments
 (0)