Re: full-screen isn't using all the screen
Maxime Soulé <[email protected]> Sat, 8 Apr 2023 19:28:45 +0200
| Newsgroups | gmane.comp.window-managers.ctwm |
|---|---|
| Message-ID | <[email protected]> |
Le 08/04/2023 à 18:51, Stefan Monnier a écrit : > > > I have two screens with the following layout: > > +--------+ > | | > +-----------+ | > | | | > | | | > | | | > +-----------+ | > | | > +--------+ > > where the left screen is "primary". > > When I use "f.zoom" on a window in the right screen, its vertical size > is changed so that its bottom is at the bottom of the right screen but > its only extends up to the top of the *left* screen instead of the top > of the right screen. > > > I.e. before: > > +--------+ > | | > +-----------+ | > | | +--+ | > | | | | | > | | +--+ | > +-----------+ | > | | > +--------+ > > after: > > +--------+ > | | > +-----------+ +--+ | > | | | | | > | | | | | > | | | | | > +-----------+ | | | > | | | | > +--+--+--+ > > > For reference, here is the `xrandr`: > > % xrandr > Screen 0: minimum 320 x 200, current 2800 x 1920, maximum 16384 x 16384 > VGA-1 disconnected (normal left inverted right x axis y axis) > 1920x1200_60.00 60.00 > 1920x1200_50.00 50.00 > HDMI-1 connected 1200x1920+1600+0 left (normal left inverted right x axis y axis) 546mm x 352mm > 1920x1200 59.95*+ > 1920x1080 60.00 > 1600x1200 60.00 > 1680x1050 59.88 > 1280x1024 75.02 60.02 > 1440x900 59.90 > 1280x960 60.00 > 1152x864 75.00 > 1024x768 75.03 70.07 60.00 > 832x624 74.55 > 800x600 72.19 75.00 60.32 56.25 > 640x480 75.00 72.81 66.67 59.94 > 720x400 70.08 > HDMI-2 connected primary 1600x1200+0+335 (normal left inverted right x axis y axis) 432mm x 324mm > 1600x1200 60.00*+ > 1280x1024 75.02 60.02 > 1280x960 60.00 > 1152x864 75.00 > 1024x768 75.03 70.07 60.00 > 832x624 74.55 > 800x600 72.19 75.00 60.32 56.25 > 640x480 75.00 72.81 66.67 59.94 > 720x400 70.08 > % > > > -- Stefan > Hello, It is weird, as when testing your case with https://github.com/maxatome/layout the algorithm seems OK: cat <<EOF > layout.txt 0:10x40+20+0 1:20x10+0+10 EOF ./layout.pl layout.txt 5x5+22+12 then typing f+Return for full. I'll try to look at the differences between this POC script and our C implementation for this specific case ASAP. ++ Max.