Re: [RP] adding some basic mouse support to switch frame

2017-02-02 Thread Julien Pagès
Jeremie Courreges-Anglas writes: > Some points: > - I have heard concerns from users that mouse support didn't match the > spirit of ratpoison. I do not think we need to make arbitrary > restrictions based on this reasoning. All I would demand is that the > default behavior isn't

Re: [RP] adding some basic mouse support to switch frame

2017-02-02 Thread Spiros Bousbouras
On Thursday 2017-02-02 Jeremie Courreges-Anglas wrote : > Yes, the xrandr changes are a bit intrusive and should be merged back in > the master git branch soon(tm). The idea is to produce a new release > within the next month. I do not know yet if mouse support would be > a good addition for the

Re: [RP] adding some basic mouse support to switch frame

2017-02-02 Thread Jeremie Courreges-Anglas
Julien Pagès writes: > Mathieu OTHACEHE writes: > >> You should maybe consider rebasing your work on top on xrandr branch. It >> would make your code cleaner as you would iterate on a screen list instead of >> a static array of screens. Yes, the xrandr changes are a bit

Re: [RP] adding some basic mouse support to switch frame

2017-02-01 Thread Julien Pagès
Mathieu OTHACEHE writes: > You should maybe consider rebasing your work on top on xrandr branch. It > would make your code cleaner as you would iterate on a screen list instead of > a static array of screens. > > This way when a user plugs a new screen, the frames on this screen > could be

Re: [RP] adding some basic mouse support to switch frame

2017-02-01 Thread Mathieu OTHACEHE
Hi Julien, > So I wrote a patch for the click feature. It seems to work pretty well, > I tried it on a laptop connected to an external screen and it seems OK > to me. Note that the frames are selected (not the windows) which I > believe is better. Nice work ! You should maybe consider rebasing

Re: [RP] adding some basic mouse support to switch frame

2017-02-01 Thread Julien Pagès
Spiros Bousbouras writes: > On Wednesday 2017-01-25 Julien Pagès wrote : >> I would like to add some basic support to be able to switch frame using >> the mouse. It should be configurable, I do not intend to change the >> default behavior. I was thinking about a new variable, let's say >>

Re: [RP] adding some basic mouse support to switch frame

2017-01-26 Thread Spiros Bousbouras
On Wednesday 2017-01-25 Julien Pagès wrote : > I would like to add some basic support to be able to switch frame using > the mouse. It should be configurable, I do not intend to change the > default behavior. I was thinking about a new variable, let's say > 'mousefocuspolicy', which could take

[RP] adding some basic mouse support to switch frame

2017-01-25 Thread Julien Pagès
Hello, I am a new user of ratpoison, and so far I love it! So first thing, thanks a lot for this great software! I would like to add some basic support to be able to switch frame using the mouse. It should be configurable, I do not intend to change the default behavior. I was thinking about a