picom/src
Yuxuan Shui c0053d1c8a
core: delay focus updates
Delay focus updates until critical section. Rational is that focus
events might arrive when the focused window hasn't been managed by
compton, result in that that window not being focused.

This commit makes compton mark focus update events, and only update
focus in critical section, after we managed all the new windows.

Fixes #177

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-05-25 00:06:41 +01:00
..
backend new backend: xrender: fix INVER_COLOR_ALL 2019-05-21 22:15:38 +01:00
atom.c common.h: general clean up 2019-05-21 20:15:34 +01:00
atom.h atom: fix memory leak 2019-05-21 20:15:34 +01: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 cache: cache_get can now return error 2019-05-21 20:15:33 +01:00
cache.h cache: cache_get can now return error 2019-05-21 20:15:33 +01:00
common.h core: delay focus updates 2019-05-25 00:06:41 +01:00
compiler.h Mark xcb_generate_id deprecated in compton 2019-05-21 23:23:42 +01:00
compton.c core: delay focus updates 2019-05-25 00:06:41 +01:00
compton.h core: delay focus updates 2019-05-25 00:06:41 +01:00
compton.modulemap Remove leftover CONFIG_XINERAMAs 2019-02-19 20:48:31 +00:00
config.c config: fix grammar 2019-05-21 20:15:28 +01:00
config.h core: just enable track_focuse 2019-05-25 00:02:25 +01:00
config_libconfig.c Eliminate implicit conversions 2019-05-21 20:15:25 +01:00
dbus.c core: just enable track_focuse 2019-05-25 00:02:25 +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 core: delay focus updates 2019-05-25 00:06:41 +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 Eliminate implicit conversions 2019-05-21 20:15:25 +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 common.h: remove cxfree 2019-05-21 20:15:34 +01:00
opengl.h common.h: cleanup, cont. 2019-05-21 20:15:34 +01:00
options.c core: just enable track_focuse 2019-05-25 00:02:25 +01:00
options.h Fork as early as possible 2019-02-08 01:33:42 +00:00
region.h Eliminate implicit conversions 2019-05-21 20:15:25 +01:00
render.c common.h: general clean up 2019-05-21 20:15:34 +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 kernel: tweak gaussian deviation 2019-05-21 20:15:30 +01:00
vsync.c Eliminate implicit conversions 2019-05-21 20:15:25 +01:00
vsync.h vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
win.c win: fix focuse tracking 2019-05-24 23:34:33 +01:00
win.h win: break win_set_focused into 2 functions 2019-05-24 23:15:19 +01:00
x.c common.h: remove cxfree 2019-05-21 20:15:34 +01:00
x.h Mark xcb_generate_id deprecated in compton 2019-05-21 23:23:42 +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