]> source.dussan.org Git - tigervnc.git/commit
Avoid VNC updates for offscreen windows
authorPierre Ossman <ossman@cendio.se>
Tue, 18 Jun 2024 14:01:55 +0000 (16:01 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 20 Jun 2024 12:41:03 +0000 (14:41 +0200)
commit52d865c35960f0c1de4811d186dccee27359709c
tree458a52200499a3652433fe84eecb2050a413b505
parente06008299d0ada411fbd4ff891975252d29beaec
Avoid VNC updates for offscreen windows

Windows aren't always directly shown, e.g. when the desktop is
composited. We should not be sending screen updates for these as the
framebuffer didn't actually change.

In the case of CopyWindow, we're even sending the wrong screen data,
which is how this bug was discovered.
unix/xserver/hw/vnc/vncHooks.c