Re: How does mouse event synthesis work on touchscreen?

2020-11-19 Thread Grósz Dániel
Thank you! So it looks like with modern toolkits it's impossible to distinguish whether a touch event is interpreted as an application-specific gesture or a boring old mouse click, as the mouse event synthesis happens in the toolkit when the toolkit is touch-aware. Actually I think it will be p

[ANNOUNCE] xprop 1.2.5

2020-11-19 Thread Keith Packard
Jason Nader (1): Add missing `-help` function Keith Packard (5): Make output with unknown width terminal the same as old code Free string list returned from XmbTextPropertyToTextList Correct icon buffer width computation for truecolor terminals Check return value fro

Re: How does mouse event synthesis work on touchscreen?

2020-11-19 Thread Peter Hutterer
On Thu, Nov 19, 2020 at 05:11:36AM +0100, Grósz Dániel wrote: > I'm not sure if this is the right place to ask, or where to look this up. > Please give me a rundown (or links) on how mouse event emulation works on > touchscreens. In general: - the kernel gives you x/y coordinates for each touch,

Re: XGetWindowAttributes to get the cursor?

2020-11-19 Thread Ivan Svirid
Yea but this only returns true/false it does not return the cursor_id. On Thu, Nov 19, 2020 at 10:26 AM Lucien Gentis < lucien.gen...@univ-lorraine.fr> wrote: > Hello, > > Perhaps you should look at XTest extension : > https://www.x.org/releases/X11R7.7/doc/xextproto/xtest.html > > See XTestCompa

Re: XGetWindowAttributes to get the cursor?

2020-11-19 Thread Lucien Gentis
Hello, Perhaps you should look at XTest extension : https://www.x.org/releases/X11R7.7/doc/xextproto/xtest.html See |XTestCompareCursor function | Le 04/11/2020 à 19:25, Ivan Svirid a écrit : So XSetWindowAttributes allows you to set the cursor on the window, basically this is the hardware c

Re: Different output between xrandr and xdpyinfo

2020-11-19 Thread Böszörményi Zoltán
Hi, 2020. 11. 18. 2:47 keltezéssel, l...@sunray.cn írta: Hi I'm using hdmi and lvds with touch screen. But the touch screen can move the pointer between two monitors like the picture now.png. But I want my touch screen to be applied on lvds like I want.png So I follow arch wiki to set the conf

Re: Re: Different output between xrandr and xdpyinfo

2020-11-19 Thread l...@sunray.cn
Thanks  Brother     Yes, as you said,I used "xinput set-prop 7 --type=float "Coordinate Transformation Matrix" 0.348 0 0 0 0.71 0 0 0 1" to make the touchscreen fixed.     Because the configuration in "xorg.conf" is fixed too and have some mistakes. the cursor is a cross on the second screen and