> On Jun 14, 2018, at 18:10, Matthew R. Trower <d...@blackshard.net> wrote:
> 
> ‎However, even though I said that... neither alt-esc nor alt-tab are 
> curr‎ently working for me (though the underlying functionality works when 
> accessed from a menu, and other keybinds work fine as well). They have worked 
> in the past. This could be a result of my private tree, or of something 
> that's changed in master at some point. I haven't been able to bisect yet.
> 
> If it‎ is broken for Antonis, or anyone else, I'd very much like to know.
>   Original Message
> From: Jon Trulson
> Sent: Thursday, June 14, 2018 15:24
> To: cdesktopenv-devel@lists.sourceforge.net
> Subject: Re: [cdesktopenv-devel] question about windows list
> 
> Oh, good point. I didn't read the last sentence. ALT-TAB should work...
> -jon
> 
> On 06/14/2018 01:34 PM, Matthew R. Trower wrote:
>> ‎This functionality should be bound to either alt+tab or alt+esc by default. 
>> Do they not work for you?
>> 
>> Have a look through programs/dtwm/WmResource.c sometime for other 
>> interesting keybinds.
>>   Original Message
>> From: Antonis Tsolomitis
>> Sent: Thursday, June 14, 2018 05:31
>> To: cdesktopenv-devel@lists.sourceforge.net
>> Subject: [cdesktopenv-devel] question about windows list
>> 
>> 
>> Many times I find myself in a difficult situation where many windows are
>> open
>> covering each other and have trouble bringing forward the one I want.
>> 
>> CDE does not seem to have a utility for finding the window you want. Or
>> does it?
>> 
>> Is there any standalone maybe application for such a task ? Or any other
>> solution?
>> For example on more common desktops alt+tab rotates the windows and you
>> can choose.


Using grep on my dtwmrc file (Sun CDE, on Solaris 9, in this case), I find
    Alt<Key>Tab                 root|icon|window        f.next_key
    Alt Shift<Key>Tab           root|icon|window        f.prev_key
    Alt<Key>Escape              root|icon|window        f.next_key
    Alt Shift<Key>Escape        root|icon|window        f.prev_key
    Alt<Key>F6                  window                  f.next_key transient
    Alt Shift<Key>F6            window                  f.prev_key transient
    Alt<Key>Tab                 root|icon|window        f.next_key
    Alt Shift<Key>Tab           root|icon|window        f.prev_key
    Alt<Key>Escape              root|icon|window        f.next_key
    Alt Shift<Key>Escape        root|icon|window        f.prev_key
    Alt<Key>F6                  window                  f.next_key transient

In other words, it's ultimately variations on f.next_key and f.prev_key dtwm 
commands that do the job, and the keys used can be defined as one wishes 
(subject to possible  complications with some keyboards and X servers as to 
what constitutes Alt, etc).

A dtwmrc(4) man page (at least in Sun CDE) describes the various f. window 
manager command.  While normally they can only appear in a window manager 
configuration file (save that dtstyle sends a command to the window manager to 
restart it, when needed), there is a protocol for sending f. commands to dtwm, 
and I have a C program that uses my reverse engineering of it (via xscope, I 
think) that I wrote a long time ago.  Given the source of one of the shared 
libraries whose interfaces are not documented, it may be possible to rewrite 
the program to do it that way...but it does work, regardless.  Source for my 
program is at http://www.smart.net/~rlhamil/goodies/dtwmcmd.c

So one could step through windows, or workspaces even (there was once someone 
that wanted to do that, I gather for a system with various status displays in 
separate workstations, using a large display or projector) programatically.

My notes indicate at least two f. commands not documented in dtwmrc(4):
f.change_backdrop       appears to require pathname of pixmap file as
                           an argument

f.set_context           appears to require one numeric argument,
                        probably a window number (as shown by xlswins
                        or xwininfo -tree -root) WARNING: has been
                        observed to crash dtwm when given without
                        valid argument


Attachment: signature.asc
Description: Message signed with OpenPGP

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to