diff options
| author | Omar Rizwan <omar@omar.website> | 2023-11-02 13:34:11 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2023-11-02 13:34:11 +0000 |
| commit | b5712cb263f8347220c5c91bccfcc22d31b33ec1 (patch) | |
| tree | 0fa6a532c984adc04af93ba1c1c888c25181066a /virtual-programs | |
| parent | Update README.md for gbm on vkcube (diff) | |
| download | folk-b5712cb263f8347220c5c91bccfcc22d31b33ec1.tar.gz folk-b5712cb263f8347220c5c91bccfcc22d31b33ec1.zip | |
display: Handle bit at end of fbset resolution
Diffstat (limited to 'virtual-programs')
| -rw-r--r-- | virtual-programs/display.folk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtual-programs/display.folk b/virtual-programs/display.folk index 2853c065..e4ab2acd 100644 --- a/virtual-programs/display.folk +++ b/virtual-programs/display.folk @@ -140,7 +140,7 @@ namespace eval ::Display { if {$::isLaptop} { set WIDTH 640; set HEIGHT 480 } else { - regexp {mode "(\d+)x(\d+)"} [exec fbset] -> WIDTH HEIGHT + regexp {mode "(\d+)x(\d+)(?:-\d+)?"} [exec fbset] -> WIDTH HEIGHT } # TODO: Remove these / expel them to a shim page; these are only |
