Re: cwm window manager usage, hidden windows

2016-12-05 Thread Okan Demirmen
On Mon 2016.12.05 at 14:21 +0100, Rudolf Sykora wrote:
> Hello,
> 
> I've been trying cwm for a while and would like to
> ask a question about it. As cwm seems to be developed
> within openbsd, I dare ask here.
> 
> I seem to need desktops, thus my .cwmrc contains
> 
> sticky yes
> bind M-1grouponly1
> bind M-2grouponly2
> bind M-3grouponly3
> bind M-4grouponly4
> bind MS-1   movetogroup1
> bind MS-2   movetogroup2
> bind MS-3   movetogroup3
> bind MS-4   movetogroup4
> 
> which emulates desktops, and works fine
> as long as one doesn't have hidden windows. My problem
> with a hidden window shows, when
> 
> 1) I have a certain group of windows,
> 2) I hide one window,
> 3) I switch to another group,
> 4) and I return to the original group.
> Now the window that I hid is no longer hidden.
> This I find annoying.
> (The movetogroup unhides all windows.)
> 
> Is there any help (or does my use of cwm differ
> from the usual use?)
> 
> Thanks for comments,
> Ruda

Hi,

I can't offer much help :) As you gathered, cwm doesn't have desktops, but it
can emulate desktops, with a few caveats (as you've found one). I see this a
lot from folks posting cwm configs - folks prefer desktops as opposed to
groups, which is what the original cwm was designed around. The mixing of
groups and ewmh desktops is fairly sloppy; replacing this emulation with actual
desktops is something I would like to see; I have some inital stabs at it, but
it does break groups and labels, thus it's almost a re-write from that
stand-point (making all 3 work without setting so-called 'modes' of
operations).  Doesn't mean it won't happen; it bothers me enough to get back to
it...

Thanks,
Okan



cwm window manager usage, hidden windows

2016-12-05 Thread Rudolf Sykora
Hello,

I've been trying cwm for a while and would like to
ask a question about it. As cwm seems to be developed
within openbsd, I dare ask here.

I seem to need desktops, thus my .cwmrc contains

sticky yes
bind M-1grouponly1
bind M-2grouponly2
bind M-3grouponly3
bind M-4grouponly4
bind MS-1   movetogroup1
bind MS-2   movetogroup2
bind MS-3   movetogroup3
bind MS-4   movetogroup4

which emulates desktops, and works fine
as long as one doesn't have hidden windows. My problem
with a hidden window shows, when

1) I have a certain group of windows,
2) I hide one window,
3) I switch to another group,
4) and I return to the original group.
Now the window that I hid is no longer hidden.
This I find annoying.
(The movetogroup unhides all windows.)

Is there any help (or does my use of cwm differ
from the usual use?)

Thanks for comments,
Ruda