enlightenment/src
Chris Michael 868ea0fb76 check siginfo si_code to verify that SIGUSR2 comes from user
When VT switching away and back, the kernel uses SIGUSR1 and SIGUSR2
to notify us of a vt switch event. That same signal was being trapped
here to toggle display of the 'fps' window. If we check the signal's
si_code, we can tell if this signal came from the kernel (as in vt
switch) or from the user (as is sent in 'kill'). This fixes the issue
of VT-switching back and forth under DRM would cause the compositor
'fps' display to appear.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-21 11:44:19 -05:00
..
bin check siginfo si_code to verify that SIGUSR2 comes from user 2016-01-21 11:44:19 -05:00
modules Add support for configuring output rotations 2016-01-20 10:54:18 -05:00
tests add basic fullscreen window test 2015-08-20 16:54:01 -04:00
Makefile.mk feature: use non-recursive makefiles for entire build system 2014-01-14 20:22:01 -05:00