Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
strategy:
fail-fast: false
matrix:
vm: ['regular', 'CS']
vm: ['BC', 'CS']

steps:
- uses: actions/checkout@master
- uses: Bogdanp/setup-racket@v0.10
- uses: Bogdanp/setup-racket@v1.8.1
with:
architecture: 'x64'
distribution: 'minimal'
Expand All @@ -23,12 +23,11 @@ jobs:
- name: Install and setup
run: |
raco pkg install --auto compiler-lib
raco pkg install --auto -i --no-setup --skip-installed gui-test
racket -l- pkg/dirs-catalog --link --check-metadata pkgs-catalog .
echo file://`pwd`/pkgs-catalog/ > catalog-config.txt
raco pkg config catalogs >> catalog-config.txt
raco pkg config --set catalogs `cat catalog-config.txt`
raco pkg update -i --auto --no-setup gui-lib/ gui-doc/ gui/ tex-table/ gui-test/
raco pkg install -i --auto --no-setup gui-lib/ gui-doc/ gui/ tex-table/ gui-test/
raco setup --pkgs gui gui-lib gui-test tex-table
- name: Run tests
run: |
Expand Down
8 changes: 4 additions & 4 deletions gui-lib/mred/private/wx/gtk/frame.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -611,10 +611,10 @@
(define scale (gdk_screen_get_monitor_scale_factor
(gdk_screen_get_default)
num))
(make-GdkRectangle (/ (GdkRectangle-x r) scale)
(/ (GdkRectangle-y r) scale)
(/ (GdkRectangle-width r) scale)
(/ (GdkRectangle-height r) scale))]
(make-GdkRectangle (floor (inexact->exact (/ (GdkRectangle-x r) scale)))
(floor (inexact->exact (/ (GdkRectangle-y r) scale)))
(floor (inexact->exact (/ (GdkRectangle-width r) scale)))
(floor (inexact->exact (/ (GdkRectangle-height r) scale))))]
[else r])))

(define (display-origin x y all? num fail)
Expand Down