Skip to content

Commit 4463a90

Browse files
committed
amended calculation of dock size in Mutiny layout due to the removal of the workspace switcher from the layout
1 parent 4b59369 commit 4463a90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dock.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -4390,9 +4390,9 @@ class Dock(object):
43904390

43914391
brisk_h = 48
43924392
top_panel_h = 28
4393-
ws_trash_h = 176 # combined heights of the workspace switcher and the trash applet
4393+
trash_h = 48
43944394

4395-
result = (Gdk.Screen.get_default().get_height() - top_panel_h - brisk_h - ws_trash_h)
4395+
result = (Gdk.Screen.get_default().get_height() - top_panel_h - brisk_h - trash_h)
43964396
if icon_size:
43974397
return result // self.get_app_icon_size()
43984398
else:

0 commit comments

Comments
 (0)