Go to file
Yuxuan Shui cfdb946992 Avoid using window id as identifier in finish_destroy_win
Under extreme race conditions (window A close at the same time as window
B create), there can be multiple windows with same id in compton's window
list. If at this point window B closes itself as well, finish_destroy_win
might destroy a different window as what's passed to destroy_callback.

This can be a problem because someone can still hold a reference to that
window (e.g. 't' in paint_preprocess), and there's no way to clear that
reference. If finish_destroy_win always destroy the same window passed
to destroy_callback, this will not be a problem.
2018-04-16 10:13:55 -04:00
.github GitHub: Add an issue template 2017-04-30 21:08:49 +08:00
bin Replace "bashism" with POSIX syntax. 2018-04-16 10:13:55 -04:00
dbus-examples whitespace cleanup 2014-07-04 06:27:13 -04:00
man Misc: Update the descriptions of --backend in compton man page 2015-04-26 16:28:05 +08:00
media Added 48x48px raster of initial Compton logo 2015-09-17 21:57:11 -04:00
src Avoid using window id as identifier in finish_destroy_win 2018-04-16 10:13:55 -04:00
tests Misc: Add two test scripts 2015-01-11 16:30:41 +08:00
.gitignore Misc: Add some entries to .gitignore 2015-09-06 20:54:14 +08:00
CPackConfig.cmake Misc: Update CMake files & docs 2013-09-06 23:18:44 +08:00
Doxyfile Feature #51: Re-initialize when SIGUSR1 is received 2012-11-19 11:44:58 +08:00
LICENSE update readme and man page. 2012-10-22 07:50:18 -05:00
Makefile Misc: Create directories for icons before installing them 2015-09-20 17:16:54 +08:00
README.md update readme 2018-04-16 10:13:55 -04:00
README_orig.md update readme 2018-04-16 10:13:55 -04:00
_CMakeLists.txt Misc: Update CMakeLists.txt 2015-01-11 11:01:37 +08:00
compton-default-fshader-win.glsl Feature: #183 custom window shader & #193 --no-fading-destroyed-argb 2014-05-16 15:18:17 +08:00
compton-fake-transparency-fshader-win.glsl Feature: #183 custom window shader & #193 --no-fading-destroyed-argb 2014-05-16 15:18:17 +08:00
compton.desktop Set icon to `compton` in compton.desktop 2015-06-05 17:14:46 -05:00
compton.sample.conf Fix some missing trailing semicolons 2016-09-04 19:24:24 +02:00
desc.txt Misc: #49: Add CMake support 2012-10-03 13:34:54 +08:00
functions.sh Misc: Move shared functions out of make-release.sh 2015-01-11 16:26:36 +08:00
make-release.sh Misc: Move shared functions out of make-release.sh 2015-01-11 16:26:36 +08:00

README.md

Compton

This is forked from the original Compton because that seems to have become unmaintained. I'll merge pull requests as they appear upstream, and fix bugs reported and found by myself.

The original README can be found here

You are welcomed to submit pull requests.