Re: Some of my thoughts on input for wayland

2011-02-20 Thread Enrico Weigelt
* Bill Spitzak schrieb: > I'm wary of a "config" file the window manager reads. What users want to do > is go into the application and run some control panel that says "now the > shortcut X+Y+Z does this" and it starts happening, and they can then change > their mind and it goes back to the wa

Re: Some of my thoughts on input for wayland

2011-01-28 Thread Bill Spitzak
Alexey Zinovyev wrote: I think that all input can be split into "control" (things like hotkeys/keybindings (including text navigation), (maybe) can be passed to separate agent, separate agent (hypothetically) can e.g. map some hotkeys to mouse/multitouch gestures if user don't have/like keyboa

Re: Some of my thoughts on input for wayland

2011-01-28 Thread Alexey Zinovyev
On Sat, Jan 29, 2011 at 03:16:51AM +0100, Enrico Weigelt wrote: > * Marty Jack schrieb: > > Something equivalent to passive grabs so that a process can > > own a particular action like Volume Up and be assured that > > there aren't five different processes all trying to control > > the volume. >

Re: Some of my thoughts on input for wayland

2011-01-28 Thread Enrico Weigelt
* Chase Douglas schrieb: > Can you describe more here? If you are meaning a real computer > "process", I think it would help to split input and output display into > separate processes. Practically every system shipping in the future will > have multiple cores, so making the input system wait aro

Re: Some of my thoughts on input for wayland

2011-01-28 Thread Enrico Weigelt
* Marty Jack schrieb: > Something equivalent to xorg.conf and xorg.conf.d for devices > that need some sort of initialization quirk or blacklisting > (Comes up constantly on xorg mailing list - must address) I'd prefer an explicit configuration mechanism and an separate (auto)configuration agent

Re: Some of my thoughts on input for wayland

2011-01-28 Thread Enrico Weigelt
* Sam Spilsbury schrieb: > 2011/1/25 Bill Spitzak : > > I'm wary of a "config" file the window manager reads. What users want to do > > is go into the application and run some control panel that says "now the > > shortcut X+Y+Z does this" and it starts happening, and they can then change > > their

Re: Some of my thoughts on input for wayland

2011-01-25 Thread Tiago Vignatti
(this is going off topic.. oh well) On 01/25/2011 12:31 AM, ext Kristian Høgsberg wrote: The "input_device" interface describes the entire input protocol as it is now. Obviously, there's work to do, right now it's sort of like core input + mpx. But the point is, we can phase this out in favour

Re: Some of my thoughts on input for wayland

2011-01-25 Thread Kristian Høgsberg
2011/1/25 Chase Douglas : > On 01/24/2011 09:18 PM, Kristian Høgsberg wrote: >> I expect gesture recognition will work much the same way.  The >> compositor gets the input events before anybody else and can decide >> whether it's a global gesture and keep the events to itself or to >> forward them

Re: Some of my thoughts on input for wayland

2011-01-25 Thread Chase Douglas
On 01/24/2011 09:18 PM, Kristian Høgsberg wrote: > I expect gesture recognition will work much the same way. The > compositor gets the input events before anybody else and can decide > whether it's a global gesture and keep the events to itself or to > forward them to the application. There is no

Re: Some of my thoughts on input for wayland

2011-01-25 Thread Sam Spilsbury
2011/1/25 Bill Spitzak : > I'm wary of a "config" file the window manager reads. What users want to do > is go into the application and run some control panel that says "now the > shortcut X+Y+Z does this" and it starts happening, and they can then change > their mind and it goes back to the way it

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Bill Spitzak
Kristian Høgsberg wrote: On Mon, Jan 24, 2011 at 4:04 PM, Bill Spitzak wrote: Chase Douglas wrote: Heh, I've heard his distaste of grabs. I haven't had a chance to research other mechanisms, so I'm just going on what I know through X. I'm certainly not opposed to a better mechanism :). I r

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Sam Spilsbury
On Tue, Jan 25, 2011 at 6:27 AM, Daniel Stone wrote: > Hi, > > On Mon, Jan 24, 2011 at 01:04:35PM -0800, Bill Spitzak wrote: >> Chase Douglas wrote: >> >Heh, I've heard his distaste of grabs. I haven't had a chance to >> >research other mechanisms, so I'm just going on what I know through X. >> >I

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Kristian Høgsberg
On Mon, Jan 24, 2011 at 4:04 PM, Bill Spitzak wrote: > Chase Douglas wrote: > >> Heh, I've heard his distaste of grabs. I haven't had a chance to >> research other mechanisms, so I'm just going on what I know through X. >> I'm certainly not opposed to a better mechanism :). > > I really believe pa

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Bill Spitzak
Kristian Høgsberg wrote: If X had let us phase out core fonts, core rendering and core input as extensions, I think X would have lasted even longer. It was one of the mistakes in X I didn't want to carry over. I don't think that was exactly the problem. The problem was that X did not reimple

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Bill Spitzak
Chase Douglas wrote: Er, grabs do have that ability: see the ReplayPointer and ReplayKeyboard arguments to XAllowEvents. That does not quite get what I want. Say for instance that the grabbing program drags windows around. I want it to drag the window no matter what shift keys are held down,

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Daniel Stone
On Mon, Jan 24, 2011 at 07:00:22PM -0500, Chase Douglas wrote: > However, the modifier keys just don't get you much. Who has ever used a > modifier key so that a certain application can grab the mouse? Well, Alt + drag to move windows, for one. :) Cheers, Daniel signature.asc Description: Digit

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Chase Douglas
On 01/24/2011 05:27 PM, Daniel Stone wrote: > On Mon, Jan 24, 2011 at 01:04:35PM -0800, Bill Spitzak wrote: >> Chase Douglas wrote: >> I really believe passive grabs can be replaced by adding an API that >> says "I did not handle this event". It can then be passed to another >> window. The typical

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Chase Douglas
On 01/24/2011 05:31 PM, Kristian Høgsberg wrote: > 2011/1/24 Chase Douglas : >> I'm not advocating a free for all when it comes to input systems where >> you pick and choose what you want. I think we should strive for an input >> system to be extended rather than rewritten from scratch as much as >

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Kristian Høgsberg
2011/1/24 Chase Douglas : > On 01/24/2011 02:30 PM, Kristian Høgsberg wrote: >> On Sun, Jan 23, 2011 at 9:03 PM, Chase Douglas >> wrote: >>> Hi all, >> >> Hi Chase, >> >>> I haven't been involved in wayland development at all yet :), but I have >>> been working on XInput 2.1 multitouch additions a

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Daniel Stone
Hi, On Mon, Jan 24, 2011 at 01:04:35PM -0800, Bill Spitzak wrote: > Chase Douglas wrote: > >Heh, I've heard his distaste of grabs. I haven't had a chance to > >research other mechanisms, so I'm just going on what I know through X. > >I'm certainly not opposed to a better mechanism :). > > I reall

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Chase Douglas
On 01/24/2011 02:30 PM, Kristian Høgsberg wrote: > On Sun, Jan 23, 2011 at 9:03 PM, Chase Douglas > wrote: >> Hi all, > > Hi Chase, > >> I haven't been involved in wayland development at all yet :), but I have >> been working on XInput 2.1 multitouch additions and gesture work in >> Ubuntu. I ha

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Bill Spitzak
Chase Douglas wrote: Heh, I've heard his distaste of grabs. I haven't had a chance to research other mechanisms, so I'm just going on what I know through X. I'm certainly not opposed to a better mechanism :). I really believe passive grabs can be replaced by adding an API that says "I did not

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Kristian Høgsberg
On Mon, Jan 24, 2011 at 2:41 PM, Marty Jack wrote: > > > On 01/24/2011 02:22 PM, Chase Douglas wrote: >> On 01/24/2011 01:57 PM, Jesse Barnes wrote: >>> On Sun, 23 Jan 2011 21:03:58 -0500 >>> Chase Douglas wrote: First I'd like to address what I think we can learn from X. X11 has a core

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Marty Jack
On 01/24/2011 02:22 PM, Chase Douglas wrote: > On 01/24/2011 01:57 PM, Jesse Barnes wrote: >> On Sun, 23 Jan 2011 21:03:58 -0500 >> Chase Douglas wrote: >>> First I'd like to address what I think we can learn from X. X11 has a >>> core protocol and an XInput extension with two major versions. To

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Kristian Høgsberg
On Sun, Jan 23, 2011 at 9:03 PM, Chase Douglas wrote: > Hi all, Hi Chase, > I haven't been involved in wayland development at all yet :), but I have > been working on XInput 2.1 multitouch additions and gesture work in > Ubuntu. I have a few thoughts on how a new input system for wayland > might

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Chase Douglas
On 01/24/2011 01:57 PM, Jesse Barnes wrote: > On Sun, 23 Jan 2011 21:03:58 -0500 > Chase Douglas wrote: >> First I'd like to address what I think we can learn from X. X11 has a >> core protocol and an XInput extension with two major versions. To >> develop additions to the input system in X you mu

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Jesse Barnes
On Sun, 23 Jan 2011 21:03:58 -0500 Chase Douglas wrote: > First I'd like to address what I think we can learn from X. X11 has a > core protocol and an XInput extension with two major versions. To > develop additions to the input system in X you must meet two obligations: > > 1. Develop alongside

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Chase Douglas
On 01/24/2011 05:36 AM, Marty Jack wrote: > On 01/23/2011 09:03 PM, Chase Douglas wrote: >> Hi all, >> >> I haven't been involved in wayland development at all yet :), but I have >> been working on XInput 2.1 multitouch additions and gesture work in >> Ubuntu. I have a few thoughts on how a new inp

Re: Some of my thoughts on input for wayland

2011-01-24 Thread Marty Jack
On 01/23/2011 09:03 PM, Chase Douglas wrote: > Hi all, > > I haven't been involved in wayland development at all yet :), but I have > been working on XInput 2.1 multitouch additions and gesture work in > Ubuntu. I have a few thoughts on how a new input system for wayland > might work. > > To go

Some of my thoughts on input for wayland

2011-01-23 Thread Chase Douglas
Hi all, I haven't been involved in wayland development at all yet :), but I have been working on XInput 2.1 multitouch additions and gesture work in Ubuntu. I have a few thoughts on how a new input system for wayland might work. To go along with that, I have no idea if these ideas have been discu