Re: Snapping issue

2021-11-21 Thread Jaimos Skriletz
On Sat, Nov 20, 2021 at 5:22 PM Dominik Vogt wrote: > > > 1) Can we safely assume that the "bool" C type is available in >every relevant compiler? The bool type is used elsewhere in the fvwm code, so I would assume it is okay. > 2) Please break up the calculations in DoSnapGrid into

Re: [PATCH - parser] (4) updates

2021-11-21 Thread Thomas Adam
On Sun, Nov 21, 2021 at 11:41:33AM +0100, Dominik Vogt wrote: > "git add -i" is extremely useful for not accidentally committing It's "git add -pi" which I use all the time. However, this is more about me hunting down which plugin is causing this and turning it off. Kindly, Thomas

dv Branches

2021-11-21 Thread Dominik Vogt
Okay, git access works again. I'll do further development on dv/devel or on private topic branches, then put them in dv/master before considering to push them. With so much disruptive work pending, we may want to introduce a devel branch upstream to reduce pollution of the master? Ciao Dominik

Re: dv Branches

2021-11-21 Thread Thomas Adam
On Sun, Nov 21, 2021, 11:22 Dominik Vogt wrote: > Okay, git access works again. I'll do further development on > dv/devel or on private topic branches, then put them in dv/master > before considering to push them. > That's one way of doing it, yes. Whichever is going to make it easier for you,

Re: [PATCH - parser] (4) updates

2021-11-21 Thread Dominik Vogt
On Sat, Nov 20, 2021 at 10:58:54PM +, Thomas Adam wrote: > On Sat, Nov 20, 2021 at 03:16:02PM +0100, Dominik Vogt wrote: > > Look at commit ba9f161998f7da942996bcf0d3f96baa8b249070. You > > added new-parser.md, but also committed a complete reindentation > > of functions.c. > > Oh heavens.

Idea: "elastic" move

2021-11-21 Thread Dominik Vogt
Duing the the discussion about annoying page flipping during interactive move Thomas said that he switched it off because it was annoying and that the pages then felt like disconnected desktops. This is precisely true and matches my own opinion. Fvwm should be better than that. The big, paged

[RFC] parser branches ready for commit

2021-11-21 Thread Dominik Vogt
The parser branch is a ready as it will be without people testing it more. The upstream branch dv/master hat the latest, merged together patches with extensive debug to stderr enabled. Please take a look. If there are no findings I'd like to put this on master. The patches also contain: *

Re: [PATCH] (6) Man page changes -- second attempt

2021-11-21 Thread Dominik Vogt
On Sat, Nov 20, 2021 at 02:37:29PM -0700, Jaimos Skriletz wrote: > Lintian found a few minor typos in the manual pages. Patch attached. Thanks; applied them to my working branch. Ciao Dominik ^_^ ^_^ -- Dominik Vogt

Re: [RFC] parser branches ready for commit

2021-11-21 Thread Thomas Adam
On Sun, Nov 21, 2021 at 02:38:09PM +0100, Dominik Vogt wrote: > The parser branch is a ready as it will be without people testing > it more. The upstream branch dv/master hat the latest, merged > together patches with extensive debug to stderr enabled. > > Please take a look. If there are no

Re: [RFC] parser branches ready for commit

2021-11-21 Thread Dominik Vogt
On Sun, Nov 21, 2021 at 09:23:20PM +, Thomas Adam wrote: > On Sun, Nov 21, 2021 at 02:38:09PM +0100, Dominik Vogt wrote: > > The parser branch is a ready as it will be without people testing > > it more. The upstream branch dv/master hat the latest, merged > > together patches with extensive

Re: Snapping issue

2021-11-21 Thread Dominik Vogt
On Sun, Nov 21, 2021 at 02:09:53AM -0700, Jaimos Skriletz wrote: > On Sat, Nov 20, 2021 at 5:22 PM Dominik Vogt wrote: > > > > > > 1) Can we safely assume that the "bool" C type is available in > >every relevant compiler? > > The bool type is used elsewhere in the fvwm code, so I would assume

Re: Snapping issue

2021-11-21 Thread Jaimos Skriletz
On Sun, Nov 21, 2021 at 11:32 AM Jaimos Skriletz wrote: > > On Sun, Nov 21, 2021 at 2:09 AM Jaimos Skriletz > wrote: > > > > All of the updates have been pushed to js/snapattract. > > > > I noticed a bug, though I think it is elsewhere in the code. Arg, the bug was me, I wasn't typing my Style

Re: Idea: "elastic" move

2021-11-21 Thread Thomas Adam
On Sun, Nov 21, 2021 at 03:29:29PM +0100, Dominik Vogt wrote: > Situation: At the moment, interactive move with the mouse feels > awkward. Pushing windows past the page edge often fails because > the pointer hits the edge and cannot move further. It's annoying > and uncomfortable. The "pointer

Re: Idea: "elastic" move

2021-11-21 Thread Thomas Adam
On Mon, Nov 22, 2021 at 12:24:09AM +0100, Dominik Vogt wrote: > Yes, when the pointer comes too close to any border (leaves the > dotted area on the sketch), it's warped back by the __move_loop to > the original "P" in the sketch. Thus it can continue moving in > all directions. Of course, the

Re: Idea: "elastic" move

2021-11-21 Thread Dominik Vogt
On Sun, Nov 21, 2021 at 10:11:57PM +, Thomas Adam wrote: > > - Replace the pointer with an invisible one. > > - Warp the pointer to the middle of the screen. There it can > > always be moved in all directions. > > - If the pointer gets too close to the page edges, warp it

Re: Snapping issue

2021-11-21 Thread Jaimos Skriletz
On Sun, Nov 21, 2021 at 2:09 AM Jaimos Skriletz wrote: > > All of the updates have been pushed to js/snapattract. > I noticed a bug, though I think it is elsewhere in the code. I was not able to set the resistance to move a window between RandR screens correctly. But if I modify the

Re: [RFC] parser branches ready for commit

2021-11-21 Thread Dominik Vogt
On Sun, Nov 21, 2021 at 09:23:20PM +, Thomas Adam wrote: > On Sun, Nov 21, 2021 at 02:38:09PM +0100, Dominik Vogt wrote: > > The parser branch is a ready as it will be without people testing > > it more. The upstream branch dv/master hat the latest, merged > > together patches with extensive

Re: Snapping issue

2021-11-21 Thread Dominik Vogt
On Sun, Nov 21, 2021 at 02:09:53AM -0700, Jaimos Skriletz wrote: > On Sat, Nov 20, 2021 at 5:22 PM Dominik Vogt wrote: > > 2) Please break up the calculations in DoSnapGrid into multiple > >lines unsing temp variable. It's too hard to read = hard to > >maintain. The previous

Re: Idea: "elastic" move

2021-11-21 Thread Dominik Vogt
On Sun, Nov 21, 2021 at 03:29:29PM +0100, Dominik Vogt wrote: > - If the viewport jumps use some kind of smooth animation. > This may be especially important if the viewport snaps to a > full page when the move ends. Tried this with the attached patch. It's not smooth and it