picom/src
Yuxuan Shui fed6ac5b09
win: release window image before rebind
Previously we try to keep the image data until the rebind succeeds. This
way even if the rebind fails, we still have something to display.

But that triggers a NVIDIA driver bug. Basically you cannot have more
than one names (XIDs) of a window pixmap. NVIDIA driver doesn't like
that, and binding the pixmap with its aliases will fail. This can
sometimes happen if we name the new pixmap before freeing the old one during
rebind, and the pixmap doesn't actually change (i.e. the rebind is
unnecessary, could happen because of X event handling complications).

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-03-23 14:35:22 +00:00
..
backend Add several debug prints 2019-03-23 14:35:22 +00:00
c2.c Run clang-format 2019-03-10 12:35:38 +00:00
c2.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
common.h win: update window's image lazily 2019-03-23 14:35:21 +00:00
compiler.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
compton.c core: ignore window with IMAGE_ERRORs 2019-03-23 14:35:22 +00:00
compton.h Run clang-format 2019-03-10 12:35:38 +00:00
compton.modulemap Remove leftover CONFIG_XINERAMAs 2019-02-19 20:48:31 +00:00
config.c Run clang-format 2019-03-10 12:35:38 +00:00
config.h Deprecate --glx-swap-method 2019-03-12 00:35:47 +00:00
config_libconfig.c Deprecate --glx-swap-method 2019-03-12 00:35:47 +00:00
dbus.c Deprecate --glx-swap-method 2019-03-12 00:35:47 +00:00
dbus.h Remove a couple of unwanted options 2018-12-20 23:44:38 +00:00
diagnostic.c Drop support for Composite < 0.2 2019-03-05 22:14:23 +00:00
diagnostic.h Make get_early_config even earlier 2019-02-07 22:45:44 +00:00
err.h Failure of config file parsing is a hard failure 2019-02-13 02:05:01 +00:00
kernel.c Cache converted blur kernel 2019-02-20 16:45:53 +00:00
kernel.h Cleanups 2019-02-21 14:08:08 +00:00
log.c Prevent GL/glx.h from defining prototypes 2019-02-09 00:43:31 +00:00
log.h Cleanups 2019-02-21 14:08:08 +00:00
meson.build Make xinerama mandatory 2019-02-18 21:05:12 +00:00
opengl.c Deprecate --glx-swap-method 2019-03-12 00:35:47 +00:00
opengl.h Run clang-format 2019-03-10 12:35:38 +00:00
options.c Deprecate --glx-swap-method 2019-03-12 00:35:47 +00:00
options.h Fork as early as possible 2019-02-08 01:33:42 +00:00
region.h Even more includes 2019-01-20 22:09:22 +00:00
render.c Deprecate --glx-swap-method 2019-03-12 00:35:47 +00:00
render.h Fix some problems in new backend integration 2019-02-20 18:17:16 +00:00
string_utils.c Run clang-format 2019-03-10 12:35:38 +00:00
string_utils.h Run clang-format 2019-03-10 12:35:38 +00:00
types.h Run clang-format 2019-03-10 12:35:38 +00:00
utils.c Even more includes 2019-01-20 22:09:22 +00:00
utils.h Silence a warning in release build 2019-02-21 14:15:25 +00:00
vsync.c vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
vsync.h vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
win.c win: release window image before rebind 2019-03-23 14:35:22 +00:00
win.h win: release window image before rebind 2019-03-23 14:35:22 +00:00
x.c Run clang-format 2019-03-10 12:35:38 +00:00
x.h Run clang-format 2019-03-10 12:35:38 +00:00
xrescheck.c Run clang-format 2019-03-10 12:35:38 +00:00
xrescheck.h Run clang-format 2019-03-10 12:35:38 +00:00