David Herrmann
7172d9e22d
compositor-tty: Fix ioctl error handling
...
(!x < 0) is always false and doesn't make sense here. Looks like a typo so
remove the negation.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
13 years ago
Tiago Vignatti
280b8a6a3b
tty: fix command line parsing
...
revert typo from evdev commit 8b568806
.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
8b568806aa
evdev: Reset accumulate values when we flush motion events
...
Otherwise we end up reporting all motion events twice.
13 years ago
Tiago Vignatti
faee80196f
compositor: choose tty from command line
...
This is a backend option, so you should use something like '-otty='.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
c1ace8c465
tty: Use /dev/tty instead of tty0
14 years ago
Kristian Høgsberg
9396fc515b
compositor-drm: Fix vt switching
...
Don't take input or render while switched away, drop and set master correctly.
14 years ago
Kristian Høgsberg
b1868479ad
Update return types of event handler functions
...
Missed this in previous commit.
14 years ago
Kristian Høgsberg
93331ff40a
compositor: Forward pointer focus notification from compostor backend
...
This lets the compositor place the pointer sprite correctly when it receives
pointer focus and allows it to send pointer focus to any client that might
receive pointer focus as the compositor receives it.
14 years ago
Tim Wiederhake
70af98c576
fix tty_destroy
...
fixes segfault when active tty could not be opened
fixes copy-paste mistake.
14 years ago
Kristian Høgsberg
e4762a6ac1
Move tty and vt handling out in its own file
14 years ago