I have no idea what this code will do on MacOS, but it works on Windows
... at least for the limited window tilings I tried.
YMMV.
-
#lang racket
(require racket/gui)
(define-values (w h) (get-display-size #:monitor 0))
(printf "screen: ~a ~a~n" w h)
(set!
Which OS?
Den tor. 5. aug. 2021 kl. 17.36 skrev Don Green :
> Creating a frame width that is half of the width given by
> (get-display-size), then moving the resulting window to the right and left
> of the screen you can see that if you had 2 windows of the same size they
> would not touch each
Creating a frame width that is half of the width given by
(get-display-size), then moving the resulting window to the right and left
of the screen you can see that if you had 2 windows of the same size they
would not touch each other as you would expect.
For some reason, dividing the total pixel
3 matches
Mail list logo