Re: [SPAM Warning!][dev] [dwm] view() and toggleview() functions

2023-01-16 Thread Storkman



On January 16, 2023 11:21:57 AM UTC, A Farzat  wrote:
>Btw, on the email subject it says [SPAM Warning!]. Is it anything I need
>to be concerned with?

Spam filters hate the .xyz TLD because it's supposedly "frequently used by 
spammers". I don't know why single out that one in particular, but it's enough 
for some servers to send perfectly legitimate mail straight to hell even if 
your mail server isn't on any actual blacklist.

>
>Thanks for clarifying!
>
>- Farzat



Re: [dev] [dwm] view() and toggleview() functions

2023-01-16 Thread NRK
On Mon, Jan 16, 2023 at 08:21:57PM +0900, A Farzat wrote:
> Btw, on the email subject it says [SPAM Warning!]. Is it anything I need
> to be concerned with?

No, you're good. It was just a false positive on my end and I forgot to
remove that before replying.

- NRK



Re: [SPAM Warning!][dev] [dwm] view() and toggleview() functions

2023-01-16 Thread A Farzat
On 23/01/16 12:10pm, NRK wrote:
> On Sun, Jan 15, 2023 at 06:28:55PM +0900, A Farzat wrote:
> > 2- In the view() function, there is this line:
> > ```c
> > selmon->seltags ^= 1; /* toggle sel tagset */
> > ```
> > What is the purpose of this line? In fact, what is the purpose of having
> > two tagsets in the first place? From what I see, all the tag
> > functionality can be achieved using only one tagset.
> 
> It's for going back to the previous layout via `MODKEY+TAB`.
> 
> - NRK

I see, so that's why it is outside the if statement.

Btw, on the email subject it says [SPAM Warning!]. Is it anything I need
to be concerned with?

Thanks for clarifying!

- Farzat


signature.asc
Description: PGP signature


Re: [SPAM Warning!][dev] [dwm] view() and toggleview() functions

2023-01-15 Thread NRK
On Sun, Jan 15, 2023 at 06:28:55PM +0900, A Farzat wrote:
> 2- In the view() function, there is this line:
> ```c
> selmon->seltags ^= 1; /* toggle sel tagset */
> ```
> What is the purpose of this line? In fact, what is the purpose of having
> two tagsets in the first place? From what I see, all the tag
> functionality can be achieved using only one tagset.

It's for going back to the previous layout via `MODKEY+TAB`.

- NRK



[dev] [dwm] view() and toggleview() functions

2023-01-15 Thread A Farzat
I am trying to modify dwm so that the tags on all monitors are synced.
Basically something like the [switch all monitor tags
patch](http://dwm.suckless.org/patches/switch_all_monitor_tags/) but
more extreme. It is simple to implement but I wanted to make sure of two
things first:

1- In the view() and toggleview() functions, focus(NULL) is called first
and then arrange(selmon). In the patch however, arrange() is called on
all the monitors before calling focus(NULL). Is that OK, or is there a
significance to the order of calling these functions?

2- In the view() function, there is this line:
```c
selmon->seltags ^= 1; /* toggle sel tagset */
```
What is the purpose of this line? In fact, what is the purpose of having
two tagsets in the first place? From what I see, all the tag
functionality can be achieved using only one tagset.

Thanks in advance for your help.

Regards,
Farzat


signature.asc
Description: PGP signature