Re: Translation of click events to touch events in kwin.

2016-06-23 Thread Bhushan Shah
On Thu, Jun 23, 2016 at 12:00 PM, Martin Gräßlin wrote: > Feel free to come up with a name by your own. I'm not very good in finding > good names and have to change them quite often again ;-) Random suggestions, - KWinQml - KWinQQuick Take your pick.. :-) -- Bhushan Shah http://bhush9.github

Re: Translation of click events to touch events in kwin.

2016-06-22 Thread Martin Gräßlin
Am 2016-06-22 11:00, schrieb Bhavisha Dhruve: On Wed, Jun 22, 2016 at 1:48 PM, Martin Gräßlin wrote: I don't like the name KWinApp, though as that can be confused with the static method kwinApp in KWin. So I'd suggest to rename it. Hello Martin, In sometime i will put the code on phabricato

Re: Translation of click events to touch events in kwin.

2016-06-22 Thread Bhavisha Dhruve
On Wed, Jun 22, 2016 at 1:48 PM, Martin Gräßlin wrote: > I don't like the name KWinApp, though as that can be confused with the > static method kwinApp in KWin. So I'd suggest to rename it. Hello Martin, In sometime i will put the code on phabricator. Regarding name, well it would be really k

Re: Translation of click events to touch events in kwin.

2016-06-22 Thread Martin Gräßlin
Am 2016-06-20 11:32, schrieb Bhavisha Dhruve: On Thu, Jun 9, 2016 at 11:35 AM, Martin Graesslin wrote: So the important things are: * create a KWayland::Server::Display which is setup to use ConnectClientsOnly * it uses createClient on an anonymous socketpair * it needs to create at least the

Re: Translation of click events to touch events in kwin.

2016-06-20 Thread Bhavisha Dhruve
On Thu, Jun 9, 2016 at 11:35 AM, Martin Graesslin wrote: > So the important things are: > * create a KWayland::Server::Display which is setup to use > ConnectClientsOnly > * it uses createClient on an anonymous socketpair > * it needs to create at least the following interfaces: > ** shm > ** c

Re: Translation of click events to touch events in kwin.

2016-06-09 Thread Bhavisha Dhruve
On Thu, Jun 9, 2016 at 11:35 AM, Martin Graesslin wrote: > I think that's already quite a list, so I stop here for the moment. This > should be sufficient to get a nested kwin_wayland started. How to get it to > render and how to get input in is then something we need to look into once > we > rea

Re: Translation of click events to touch events in kwin.

2016-06-08 Thread Martin Graesslin
On Wednesday, June 8, 2016 9:58:28 PM CEST Bhavisha Dhruve wrote: > I now properly understood the actual idea, and how I will have to use > FakeInput interface, to sum up there will be QtQuick component, which will > be used by Plasma mobile emulator to embed KWin inside emulator window. yep > >

Re: Translation of click events to touch events in kwin.

2016-06-08 Thread Bhavisha Dhruve
On Wed, Jun 8, 2016 at 7:37 PM, Martin Graesslin wrote: > I just discussed a little bit with Bhushan about how the emulator should > work. > I think it doesn't make sense to have kwin_wayland as the "toplevel" > window, > we rather need to make KWin a child of the emulator window to have things >

Re: Translation of click events to touch events in kwin.

2016-06-08 Thread Martin Graesslin
On Wednesday, June 8, 2016 2:43:50 PM CEST Martin Graesslin wrote: > On Wednesday, June 8, 2016 2:04:45 PM CEST Bhavisha Dhruve wrote: > > Hello, > > > > One part of my GSoC project (Plasma mobile emulator) is to translate click > > events into touch events, for that I've already implemented touch

Re: Translation of click events to touch events in kwin.

2016-06-08 Thread Martin Graesslin
On Wednesday, June 8, 2016 2:04:45 PM CEST Bhavisha Dhruve wrote: > Hello, > > One part of my GSoC project (Plasma mobile emulator) is to translate click > events into touch events, for that I've already implemented touch event > support in FakeInput interface both kwayland and kwin side as stated

Translation of click events to touch events in kwin.

2016-06-08 Thread Bhavisha Dhruve
Hello, One part of my GSoC project (Plasma mobile emulator) is to translate click events into touch events, for that I've already implemented touch event support in FakeInput interface both kwayland and kwin side as stated in my GSoC proposal. However I am not getting part of how and where I can