picom/src
Yuxuan Shui 48687b985d
Make potentially window destroying functions take simple pointers
Instead of pointer to pointer. The two level of pointers were used to
inform the caller the window has been destroyed (pointer set to NULL).

Now, destruction of windows are now signaled by the return value, which
is marked `must_use`.

Problem with taking pointer to pointer is that they tends to pollute the
function signatures a little bit. And we are not using it well anyways.
A lot of the callers passes pointers to local variables to those
functions, so the information about window destruction doesn't actually
bubble up. So, we switch to use just one level of pointers instead.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-09-16 23:14:03 +01:00
..
backend backend/driver.h: add comments about NVIDIA quirks 2019-09-16 22:44:09 +01:00
atom.c Untangle headers 2019-08-10 00:56:26 +01:00
atom.h Use XCB to check if an application is fullscreen 2019-07-19 14:11:15 +03:00
c2.c core: just enable track_focuse 2019-05-25 00:02:25 +01:00
c2.h win: split struct win 2019-05-21 20:15:29 +01:00
cache.c Untangle headers 2019-08-10 00:56:26 +01:00
cache.h cache: cache_get can now return error 2019-05-21 20:15:33 +01:00
common.h core: track whether server is grabbed 2019-09-07 19:10:58 +01:00
compiler.h compiler.h: add popcount 2019-09-07 19:11:04 +01:00
compton.c Make potentially window destroying functions take simple pointers 2019-09-16 23:14:03 +01:00
compton.h Fix warnings when opengl is disabled 2019-07-25 02:52:37 +01:00
compton.modulemap More header fixes 2019-08-10 15:31:23 +01:00
config.c config: fix warning when config_file is disabled 2019-07-25 02:46:46 +01:00
config.h Untangle headers 2019-08-10 00:56:26 +01:00
config_libconfig.c Add --no-ewmh-fullscreen 2019-07-19 14:13:41 +03:00
dbus.c new backend: fix background blur of window with opacity set 2019-07-26 23:43:28 +01:00
dbus.h win: split struct win 2019-05-21 20:15:29 +01:00
diagnostic.c backend: add preliminary support for driver detection 2019-05-21 20:15:31 +01: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
event.c Make potentially window destroying functions take simple pointers 2019-09-16 23:14:03 +01:00
event.h core: split out event code 2019-03-23 14:35:22 +00:00
kernel.c kernel: tweak gaussian deviation 2019-05-21 20:15:30 +01:00
kernel.h kernel: tweak gaussian deviation 2019-05-21 20:15:30 +01:00
list.h event: handle reparent to the same parent 2019-05-21 20:15:32 +01:00
log.c Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
log.h gl_common: initialize string marker logger 2019-05-21 20:15:24 +01:00
meson.build atom: cache result of get_atom 2019-05-21 20:15:33 +01:00
meta.h Add missing header file 2019-05-21 20:15:34 +01:00
opengl.c Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
opengl.h Untangle headers 2019-08-10 00:56:26 +01:00
options.c options: remove a spurious warning 2019-07-26 02:44:42 +01:00
options.h Fork as early as possible 2019-02-08 01:33:42 +00:00
region.h Move resize_region to region.h 2019-07-06 13:26:25 +01:00
render.c Untangle headers 2019-08-10 00:56:26 +01:00
render.h win: split struct win 2019-05-21 20:15:29 +01:00
string_utils.c Add some unittests 2019-05-21 20:15:22 +01:00
string_utils.h Eliminate implicit conversions 2019-05-21 20:15:25 +01:00
types.h new backend: glx: implement IMAGE_OP_APPLY_ALPHA 2019-05-21 20:15:35 +01:00
uthash_extra.h win: track windows with a hash table 2019-05-21 20:15:27 +01:00
utils.c Eliminate implicit conversions 2019-05-21 20:15:25 +01:00
utils.h Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
vsync.c Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
vsync.h vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
win.c Make potentially window destroying functions take simple pointers 2019-09-16 23:14:03 +01:00
win.h Make potentially window destroying functions take simple pointers 2019-09-16 23:14:03 +01:00
win_defs.h Untangle headers 2019-08-10 00:56:26 +01:00
x.c Fix creation of X convolution kernel 2019-07-07 19:51:42 +01:00
x.h Untangle headers 2019-08-10 00:56:26 +01: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