[KLUG Members] Deploying Linux on the corporate desktop.

Stu Gillis members@kalamazoolinux.org
Fri, 23 Aug 2002 11:02:12 -0400 (EDT)


--------------Boundary-00=_ORXAGTPD7GKNTT4D7TH0
Content-Type: Text/Plain
Content-Transfer-Encoding: 7bit

>  
> The problem is I can't make KDE work with our ERP software 
> (running on HPUX, displayed on the Linux desktop). 
>  
> The ERP X-window does not set the "WM_HINT" correctly, and 
> I need a windows manager than has an option to handle this. 
> Otherwise, the ERP window can NEVER get focus. 
>  
> In Gnome (Sawfish actually), there is a setting that says: 
> "Give focus to windows even when they haven't ask for it". 
>  
> In the xfwm (XFCE) config file, there is this: 
>  
> # Xfwm now honors the WM_HINT "Input" and acts accordingly. 
> # If you don't want this feature, use the following parameter 
> # to disable it (Some applications wrongly set input hint to 
> # false and therefore will never get focus unless 
> # "HonorWMFocusHint" is set to "No") : 
> HonorWMFocusHint     No 
>  
> And the last time I looked at KDE, it didn't have a similar 
> option. Maybe that's changed with newer KDE's?  I don't know, but 
> if you know of the option in KDE, please let me know _where_ to 
> find it. 
>  
I found this in /usr/include/kde/kwin/client.h 
    uint input :1; // does the window want input in its wm_hints 
    uint store_settings : 1; 
    uint skip_pager : 1; 
    void getWMHints(); 
 
I'm not sure if this is the function your looking for. The only 
config setting for focus I've found is a tab under look and feel | 
Window behavior. The options are all mouse related. Click for focus, 
Focus follows mouse, Focus under mouse, Focus strictly under mouse. 
_________________________________________________________________
    http://fastmail.ca/ - Fast Secure Web Email for Canadians
--------------Boundary-00=_ORXAGTPD7GKNTT4D7TH0--