Commit Graph

5 Commits

Author SHA1 Message Date
Carsten Haitzler 264b59c42f gesture - add an option to turn it all on or off
so - some people have issues if we open devices. why... i don't know,
but add an option to toggle this and be conservative and have it off
by default

@fix
2022-01-18 21:17:54 +00:00
Carsten Haitzler ba156d2f46 gesture - vm (vbox) detect hack to work around xorg no display bug
so... you go through wizard - only in vbox it seems (or maybe other
vm's - don't know - only tried vbox - this doesnt happen on real
systems). at the end e restarts... and it's blank. e is actually
rendering. you can screengrab (eg import -window root out.png) and see
the screen drawn just fine. xrandr is all set up right - everything is
kosher... but nothing will display except the curosr. xorg is just not
displaying rendered content. somehow e's gesture code and use of
logind/libinput to get inpiut devices for gestures tickles this xorg
bug. i don't quite know why as xorg doesnt seem to be complaining.
once you restart the xorg process everything works fine from there on.
it's some bug inside xorg that just refuses to display output.
manually changing resolution with xrandr will reset things and have
things render... until e restarts. a fukll xorg re-run is needed to
fix it... there just is nothing i can see that e is doing wrong or to
fix in e... so this is a workaround the xorg side by just not using
the gesture support if on a vm. they won't have touchpads anyway and
emulate mice so ... no real loss. this won't affect peolpe on real
systems and it may not always work as a workaround as it relies on
systemd-detect-virt or hostnamectl.

@fix
2021-12-30 17:03:35 +00:00
Carsten Haitzler 2fa0181286 gesture - ifdef eplut after include e.h 2021-04-12 13:56:50 +01:00
Alastair Poole e1eed5190b freebsd: make elput optional. 2021-04-12 12:47:27 +01:00
Marcel Hollerbach 424a6a1930 move gesture recognition to e itself 2021-04-05 20:41:55 +02:00