(apologies for breaking threading)

Eckehard Berns wrote:
> Dwm does this by intention. In manage() in dwm.c the code explicitly          
>   
> checks, whether the new window is a transient for an already managed          
>   
> client. If so, the tags and monitor settings are copied from the main         
>   
> window (in your case the ooclac window already open).

Connor Lane Smith wrote:
> The problem is these damn "singleton" applications which insist on            
>   
> using the same window rather than separate ones for each process. As          
>   
> far as dwm is concerned one is claiming to be a transient window for          
>   
> the other, and it's handling the case correctly.

Thanks both for the explanation.

Eckehard, your suggested patch didn't work; seemingly the floating
window is never mapped to any tag at all. But I don't really want
to potentially break other applications just to make oocalc's
behaviour less obnoxious.

Connor Lane Smith wrote:
> Could you post the output of xprop for the two windows?
Attached (pwwinprop is the popped up enter password window,
existingwinprop is the already open oocalc).
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x2803413
                bitmap id # of mask for icon: 0x2803414
                window id # of group leader: 0x2800001
XdndAware(ATOM) = BITMAP
_NET_WM_ICON(CARDINAL) =        Icon (32 x 32):
        ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  
         ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 
                                        
                                        
                                        
                                      ░░
          ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
        ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
        ░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒░░░░░▒░
        ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░     ░░▒▒▒▒▒▒░
        ░░▒▒▒▒▒▒▒▒▓▓▓▓▓▓░    ░░▒▒▒▒▒▒▒▒░
        ░▒▒▒▒▓▓▒░          ▒▓▓▓▒▒▒▒▒▒▒▓ 
        ░▒▒▓▒░    ░      ▒▓▓▓▓▓▓▓▓▓▓▓▓▓ 
        ▒▒▒▒░ ░▒▓▓▓▓▓▒░ ▓▓▓▓▓▒▒▒░ ░░▒▓▒ 
        ▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒░      ▒▒▒▓░ 
        ▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓░     ░▒▓▓▓▓▓  
        ▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓     ░▒▓▓▓▓▓▓▒  
        ▒▒▒▓▓▓▓▓▓▒▒▒▒░▒░    ▒▓▓▓▓▓▓▓▓░  
        ▒▒▒▓▓▓▒░           ▒▓▓▓▓▓▓▓▓▓   
        ▒▒▒▓▒░            ▓▓▓▓▓▓▓▓▓▓▓   
        ▒▒▓▒   ░░▒▒▒▒▒░  ▒▓▓▓▓▓▓▓▓▓▓▓   
        ▒▒░  ░▒▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▒   
        ▒░ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒   
        ▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒   
        ▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒   
        ▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒   
        ▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒   
        ▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   
        ▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   
        ▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░  
        ▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒  
        ▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒  

        Icon (16 x 16):
             ░░▒▒░      
           ░░      ░    
          ░░▒ ░░    ▒   
         ░  ░░░      ░  
         ░            ░ 
        ░░▓▓░▓▓░░     ░ 
        ░ ░░▓░        ▒ 
        ▒             ▒ 
        ░             ▒ 
        ░             ░ 
         ░            ░ 
         ░░          ░  
          ▒░        ▒░  
           ░░     ░▒    
             ░▒▒▒░░     
                        


WM_TRANSIENT_FOR(WINDOW): window id # 0x280000d
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 41956370
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG
_NET_WM_USER_TIME(CARDINAL) = 1581472
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x2803411
WM_CLIENT_LEADER(WINDOW): window id # 0x2800001
_NET_WM_PID(CARDINAL) = 3829
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLIENT_MACHINE(STRING) = "maxwell"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
                program specified minimum size: 359 by 103
                program specified maximum size: 359 by 103
                window gravity: Static
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, 
_NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "VCLSalFrame", "OpenOffice.org 3.2"
WM_ICON_NAME(STRING) = "Enter password"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x45, 0x6e, 0x74, 0x65, 0x72, 0x20, 0x70, 
0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64
WM_NAME(STRING) = "Enter password"
_NET_WM_NAME(UTF8_STRING) = 0x45, 0x6e, 0x74, 0x65, 0x72, 0x20, 0x70, 0x61, 
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x280314c
                bitmap id # of mask for icon: 0x280314d
                window id # of group leader: 0x2800001
XdndAware(ATOM) = BITMAP
_NET_WM_USER_TIME(CARDINAL) = 1557398
_NET_WM_ICON(CARDINAL) =        Icon (24 x 24):
                                
            ░░░░░░░░░░░░░       
           ░             ░      
           ░              ░     
           ░  ▒▒▒▒░░░░░    ░    
           ░           ░░  ░░   
           ░  ▒▒▒▒░░░░░  ░░░░   
           ░                ░   
           ░  ▒▒▒▒░░░░░░░░  ░   
           ░ ▒▒▒▒▒▒░        ░   
           ▒▒░░░░░░▒▒▒░░░░  ░   
          ▒░░░░░░░▒▒▒▒▒     ░   
         ░░░░░░░▒▒▒▒▒▒▒▒░░  ░   
         ▒░░░░░▒▒▒▒▒▒▒▒▒    ░   
         ▒░░░▒▒▒░░▒▒▒▒▒▓░░  ░   
         ▓░░▒▒▒▒ ░▒▒▒▒▒▓    ░   
         ▒▒░░▒▒░░░▒▒░▒▒▒░░  ░   
         ░▓▒▒░░░░░░░▒▒▓░    ░   
          ░▓▓▓▒░░░▒▒▒▓▒░    ░   
           ▒▒▓▓▒▒▒▒▓▒░      ░   
           ░ ░▒▒▒▒▒░        ░   
          ░░                ░░  
          ░░░░░░░░░░░░░░░░░░░░  
                                

        Icon (16 x 16):
          ░░░░░░░░░     
         ░         ░    
         ░ ░░    ░  ░   
         ░       ░   ░  
         ░ ░░    ░░░░░  
         ░        ░  ░  
         ░ ░░        ░  
         ░   ░▒▒▒░   ░  
         ░ ░▒▒▒▒▒▒▒  ░  
         ░ ░▒▒▒▒▒▒▒▒ ░  
         ░ ▒▒▒▒▒▒▒▒▒ ░  
         ░ ░▒▒▒░▒▒▒▒ ░  
         ░  ▒▒▒░▒▒▓  ░  
         ░   ░▒▒▒░   ░  
         ░           ░  
         ░░░░░░░░░░░░░  


_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 41943055
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x280000e
WM_CLIENT_LEADER(WINDOW): window id # 0x2800001
_NET_WM_PID(CARDINAL) = 3829
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLIENT_MACHINE(STRING) = "maxwell"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
                program specified minimum size: 0 by 0
                window gravity: Static
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, 
_NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "VCLSalFrame.DocumentWindow", "OpenOffice.org 3.2"
WM_ICON_NAME(STRING) = "Untitled 1 - OpenOffice.org Calc"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x55, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 
0x64, 0x20, 0x31, 0x20, 0x2d, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x4f, 0x66, 0x66, 
0x69, 0x63, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x20, 0x43, 0x61, 0x6c, 0x63
WM_NAME(STRING) = "Untitled 1 - OpenOffice.org Calc"
_NET_WM_NAME(UTF8_STRING) = 0x55, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 
0x20, 0x31, 0x20, 0x2d, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x4f, 0x66, 0x66, 0x69, 
0x63, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x20, 0x43, 0x61, 0x6c, 0x63

Reply via email to