GWSL-Source icon indicating copy to clipboard operation
GWSL-Source copied to clipboard

Limiting window size

Open g0r3 opened this issue 2 years ago • 2 comments

Hi,

  1. I would like to use GWSL in the multiwindow mode, but at the same time set an upper limit of the window size of the window for maximizing. The problem is that I use a HiDPI screen and the chrome browser in the WSL shows everything with no scaling at all.

  2. Also the full sceen seems to be a bit fishy right now. I only can see some flickering and I have to click on the application icon in the taskbar minimizing and maximizing the application in order to see it.

Is there away to achieve 1/avoid 2?

g0r3 avatar Apr 14 '22 10:04 g0r3

Ok, I think I at least got the reason for problem 2:

If I look in WSL, a wrong screen resolution gets reported:

>$ xrandr                                                                       
Screen 0: minimum 0 x 0, current 5760 x 2560, maximum 32767 x 32767
default connected primary 5760x2560+0+0 1016mm x 451mm
   5760x2560      0.00*

My screen has 3840x2560. Caused by my multi monitor setup (1080p laptop + screen) Is there a way to correct this? Creating a new mode with xrandr didn't work.

g0r3 avatar Apr 14 '22 11:04 g0r3

Can you try googling this for vcxsrv?

Pololot64 avatar Apr 14 '22 15:04 Pololot64