Updated version to go along with the merge of pull requests 175 and 176

(OpenBSD/NetBSD/DragonFly support), and a change to the wrapper to allow
manual override of the number of icon columns (because sometimes some
window managers are clueless about the correct window dimensions).
This commit is contained in:
Tim Edwards
2022-08-22 12:20:59 -04:00
parent 0bfb7c80d3
commit f45f3c96e5
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
8.3.315
8.3.316
+8
View File
@@ -859,6 +859,14 @@ proc magic::maketoolbar { framename } {
set locklist [tech locked]
set ncols 0
# Sometimes the window manager can have bogus values, so allow an
# environment variable LAYOUT_ICON_COLS to override the number of icon
# columns.
if {[info exists ::env(LAYOUT_ICON_COLS)]} {
set ncols [expr $::env(LAYOUT_ICON_COLS) - 1]
}
while {1} {
incr ncols
set i 0