diff options
| author | Vladimir Kondratyev <wulf@FreeBSD.org> | 2022-11-17 21:48:42 +0000 |
|---|---|---|
| committer | Vladimir Kondratyev <wulf@FreeBSD.org> | 2022-11-17 21:48:42 +0000 |
| commit | 4a0db5e2920c0e0df52d6888bdd732df95706dfc (patch) | |
| tree | a416b629ef3318f6589f39e05936868f4f60b7a6 /sys/dev/syscons | |
| parent | f556a05c49261af3d373c599d05fa250f3563b59 (diff) | |
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/sysmouse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/syscons/sysmouse.c b/sys/dev/syscons/sysmouse.c index ef851058a6ef..73167bdb34f8 100644 --- a/sys/dev/syscons/sysmouse.c +++ b/sys/dev/syscons/sysmouse.c @@ -295,6 +295,8 @@ sysmouse_event(mouse_info_t *info) #ifdef EVDEV_SUPPORT smdev_evdev_write(x, y, z, mouse_status.button); + if (evdev_is_grabbed(sysmouse_evdev)) + goto done; #endif if (!tty_opened(sysmouse_tty)) |
