Addl fix #397: GPU acceleration
authorColin Clark <colin.clark@cclark.uk>
Tue, 7 Jul 2020 10:46:52 +0000 (11:46 +0100)
committerColin Clark <colin.clark@cclark.uk>
Tue, 7 Jul 2020 10:46:52 +0000 (11:46 +0100)
commit4eb2f5880956c8259d0b5e2084baf61a27ee82ad
tree10325407affee59c6e76a269db5e1913e545c707
parent99aa4caeef1f7c2985431e3e15f95563a30fb354
Addl fix #397: GPU acceleration

https://github.com/BestImageViewer/geeqie/issues/397

If two windows are open, switching between the two windows may cause a
crash with the message:
The error was 'GLXBadDrawable'

The bug happens with Nouveau drivers and Radeon drivers, but not with
Nvidia drivers.

This patch disables Clutter if the system is liable to this bug. The
user is given the possibility to override this with an option in
Preferences/Behavior.
src/main.c
src/options.c
src/options.h
src/pixbuf-renderer.c
src/preferences.c
src/rcfile.c