FVWM: New feature: *FvwmTaskBarAutoFocus

From: Mohsin_Ahmed <mosh_at_sasi.com>
Date: Sat, 21 Nov 1998 14:10:47 +0530

I added a new feature to Fvwm2.0.46/extras/FvwmTaskBar/FvwmTaskBar.c,
whereby keeping the cursor on a button in taskbar raises the window,
if tip is open (should be independent ideally).

BTW, I don't know X so well, but ideally I am looking at taskbar
taking keyboard input. Let me know if you have any suggestions,
eg. left / Right arrow in TaskBar can move between windows.

- Mohsin.

In ~/.fvwm2rc turn on the option by:
*FvwmTaskBarAutoFocus
*FvwmTaskBarShowTips

$ cd Fvwm2.0.46/extras/FvwmTaskBar
$ diff FvwmTaskBar.c-orig FvwmTaskBar.c
27a128
> AutoFocus = False, // mosh
522c523,532
< if (Tip.open) RedrawTipWindow();
---
>     if (Tip.open){
>       RedrawTipWindow();
>
>       // 98-11-21 13:45, Mohsin_Ahmed, mailto:mosh_at_sasi.com.
>       if( Tip.type >= 0 && AutoFocus ){
>           SendFvwmPipe( "Iconify -1, Raise, Focus",
>                         ItemID( &windows, Tip.type ) );
>       }
>     }
>
606a617,618
>       else if(mystrncasecmp(tline,CatString3(Module, "AutoFocus",""),
>                             Clength+9)==0) AutoFocus=True;
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Nov 21 1998 - 02:35:33 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST