summaryrefslogtreecommitdiff
path: root/src/include/prefs.h
diff options
context:
space:
mode:
authorMihai Moldovan <[email protected]>2023-07-28 20:24:57 +0200
committerColomban Wendling <[email protected]>2023-10-24 10:58:13 +0200
commita67e582bc96aac4a779b0fe28e7a005ca166bd03 (patch)
treed8672c01afdadca95e8f0b4bedeb939bf6c38b1a /src/include/prefs.h
parenta938884530839152c9854dd0d8248b36c3c2e3fd (diff)
downloadmarco-a67e582bc96aac4a779b0fe28e7a005ca166bd03.tar.bz2
marco-a67e582bc96aac4a779b0fe28e7a005ca166bd03.tar.xz
ui/frames: check that compositing is not only requested, but also available.
Enabling code that is supposed to be used in compositing conditions is harmful if compositing is not actually available. Just checking the preference is not enough to make sure that compositing is available - the X server might be missing crucial extensions for compositing to work, which in turn correctly disables the internal compositor. The end result is graphical issues like black borders around windows in such situations. Make sure that compositing is both requested AND available to fix this bug.
Diffstat (limited to 'src/include/prefs.h')
0 files changed, 0 insertions, 0 deletions