check siginfo si_code to verify that SIGUSR2 comes from user
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 <2c9adca9bdb4861297f022d161a6a7c2d4597bd5@osg.samsung.com>

tasn/enlightenment,rvandegrift/e,tasn/enlightenment,rvandegrift/e,rvandegrift/e,tasn/enlightenment