Skip to content
  • Deucе's avatar
    08a78bbc
    A few scaling fixes for X11 mode... · 08a78bbc
    Deucе authored
    - getscaling() incorrectly used an int intermediate variable
      This would force scaling to an integer value when read.
    - Only parse ConfigureNotify events describing a change to the SyncTERM window
      It appears that XWayland on ChromeOS was occasionally sending a
      ConfigureNotify event describing some other window to SyncTERM,
      and that window had a 1x1 size, which would cause SyncTERM to
      assert minimum size again (usually 640x480), which would set
      scaling to 1.0.
    08a78bbc
    A few scaling fixes for X11 mode...
    Deucе authored
    - getscaling() incorrectly used an int intermediate variable
      This would force scaling to an integer value when read.
    - Only parse ConfigureNotify events describing a change to the SyncTERM window
      It appears that XWayland on ChromeOS was occasionally sending a
      ConfigureNotify event describing some other window to SyncTERM,
      and that window had a 1x1 size, which would cause SyncTERM to
      assert minimum size again (usually 640x480), which would set
      scaling to 1.0.
Loading