On Monday, October 20, 2014 14:35:40 Martin Gräßlin wrote: > On Monday 20 October 2014 14:15:51 Sebastian Kügler wrote: > > On Friday, October 17, 2014 07:26:55 Martin Gräßlin wrote: > > > On Thursday 16 October 2014 16:32:02 Weng Xuetian wrote: > > > > > > consider that the mouse could be moved at the same time as the touch > > > events > > > appear. This makes me very unsure about hiding the cursor. > > > > > > On Wayland they get dedicated touch events. Applications relying on > > > having > > > the pointer position updated would clearly be an application bug. > > > > Or a feature. > > > > With forwarding touch events to mouse events, we can make a whole lot of > > applications "just work" with touchscreens. I don't see why we should not > > do that. > > This is still inside the toolkit. It's not us who should send mouse events > to the toolkit. It's the toolkit's job to handle that correctly. My point > still holds: if it's not properly forwarded it would be a toolkit bug > instead of an application bug in that case.
OK, I think I misunderstood: I thought an application actually reacting to touchevents as mouse events and using them (for example for moving the cursor, clicks, drag and drop) would be a bug. To me, those things are features, without it my touchscreen would be useless. > Anyway we cannot and shouldn't do something like sending mouse events for > touch events on Wayland. For X11 windows the situation is different, but on > Wayland that could end up nasty in having the toolkit process things twice. -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel