Re: ctwm focus on new window?

2023-06-06 Thread adr
On Tue, 6 Jun 2023, adr wrote: hmm... by the nature of xorg and looking at the code of ctwm this looks unachievable. It would be easy to add an option like MapToFocus so all new mapped windows get focus (and grab the pointer). That's the behaviour already when ClickToFocus is set and the window w

Re: ctwm focus on new window?

2023-06-06 Thread adr
On Tue, 6 Jun 2023, adr wrote: On Tue, 6 Jun 2023, Rhialto wrote: ctwm is also in pkgsrc and that version is newer. If you change some code and make it nicely optional (personally I think it is far too dangerous if new windows take the focus away from wherever it is: what if you're in the middle

Re: ctwm focus on new window?

2023-06-06 Thread adr
On Tue, 6 Jun 2023, David Brownlee wrote: $ cd /usr/xsrc/external/mit/ctwm $ make USETOOLS=no make: no target to make. Apologies - I should have clarified - its src/external/mit/ctwm, not xsrc/external/mit/ctwm builds for me, with a clean tree :) Yes, thanks David, it worked like a charm.

Re: ctwm focus on new window?

2023-06-06 Thread adr
On Tue, 6 Jun 2023, Rhialto wrote: ctwm is also in pkgsrc and that version is newer. If you change some code and make it nicely optional (personally I think it is far too dangerous if new windows take the focus away from wherever it is: what if you're in the middle of typing a password?) it could

Re: ctwm focus on new window?

2023-06-06 Thread Rhialto
On Tue 06 Jun 2023 at 18:57:11 +, adr wrote: > Ah, that makes sense, I just responded surprised, I didn't take a > look. ctwm is also in pkgsrc and that version is newer. If you change some code and make it nicely optional (personally I think it is far too dangerous if new windows take the foc

Re: ctwm focus on new window?

2023-06-06 Thread adr
On Tue, 6 Jun 2023, Martin Husemann wrote: Why is ctwm duplicated in src and xsrc? It is not. There are only makefiles for it in src, while the source is in xsrc ;-) Ah, that makes sense, I just responded surprised, I didn't take a look.

Re: ctwm focus on new window?

2023-06-06 Thread Martin Husemann
On Tue, Jun 06, 2023 at 04:27:49PM +, adr wrote: > Why is ctwm duplicated in src and xsrc? It is not. There are only makefiles for it in src, while the source is in xsrc ;-) Martin

Re: ctwm focus on new window?

2023-06-06 Thread adr
On Tue, 6 Jun 2023, David Brownlee wrote: $ cd /usr/xsrc/external/mit/ctwm $ make USETOOLS=no make: no target to make. Apologies - I should have clarified - its src/external/mit/ctwm, not xsrc/external/mit/ctwm builds for me, with a clean tree :) ??? Why is ctwm duplicated in src and xsrc?

Re: ctwm focus on new window?

2023-06-06 Thread David Brownlee
On Mon, 5 Jun 2023 at 19:36, adr wrote: > > On Mon, 5 Jun 2023, David Brownlee wrote: > > Try: > > > > cd external/mit/ctwm > > make USETOOLS=no > > > > On Mon, 5 Jun 2023 at 18:36, adr wrote: > >> > >> Any advice to build _only_ /usr/xsrc/external/mit/ctwm? > >> > >> adr > > There is no makefile

Re: ctwm focus on new window?

2023-06-05 Thread RVP
On Sun, 4 Jun 2023, adr wrote: has someone hacked ctwm to give focus to newly created windows, like AutoFocusToTransients but for all windows? I've some other patches for ctwm. Does "ClickToFocus" or "SloppyFocus" work for you? -RVP

Re: ctwm focus on new window?

2023-06-05 Thread adr
On Mon, 5 Jun 2023, Martin Husemann wrote: The official way to compile only this (but it assumes everything in xsrc has been build before!) I was afraid to read something like this... cd src/external/mit/ctwm ${TOOLDIR}/bin/nbmake-${arch} -j 16 obj dependall install This is u

Re: ctwm focus on new window?

2023-06-05 Thread Martin Husemann
On Mon, Jun 05, 2023 at 06:36:05PM +, adr wrote: > There is no makefile there, but I tried in case bsdmake > imports the necessary files: The official way to compile only this (but it assumes everything in xsrc has been build before!) is something like: cd src/external/mit/ctwm

Re: ctwm focus on new window?

2023-06-05 Thread adr
On Mon, 5 Jun 2023, David Brownlee wrote: Try: cd external/mit/ctwm make USETOOLS=no On Mon, 5 Jun 2023 at 18:36, adr wrote: Any advice to build _only_ /usr/xsrc/external/mit/ctwm? adr There is no makefile there, but I tried in case bsdmake imports the necessary files: $ cd /usr/xsrc/ext

Re: ctwm focus on new window?

2023-06-05 Thread David Brownlee
Try: cd external/mit/ctwm make USETOOLS=no On Mon, 5 Jun 2023 at 18:36, adr wrote: > > Any advice to build _only_ /usr/xsrc/external/mit/ctwm? > > adr

Re: ctwm focus on new window?

2023-06-05 Thread adr
Any advice to build _only_ /usr/xsrc/external/mit/ctwm? adr

ctwm focus on new window?

2023-06-04 Thread adr
Hi, has someone hacked ctwm to give focus to newly created windows, like AutoFocusToTransients but for all windows? adr