Re: [dwm] konqueror and what-to-do-with-file dialog

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 11 Apr 2007 15:20:56 +0200

On Sat, Apr 07, 2007 at 10:15:53PM +0200, Oliver Heins wrote:
> in konqueror, when clicking on a link to a file which isn't opened
> within konqueror itself by default, a temporary window pops up asking
> what to do with the file. Unfortunately, this window is not floating
> but is put in the main area whilst konqueror is shifted to the stacking
> area, which is really annoying.
>
> To me it looks like the window sets the TRANSIENT_FOR hint. Or is this an
> EWMH hint? Who is to blame: KDE developers or dwm?
>
> Here's some of xprop's output:
>
> WM_CLIENT_LEADER(WINDOW): window id # 0x1200002
> WM_WINDOW_ROLE(STRING) = "questionYesNoCancel"
> _NET_WM_PID(CARDINAL) = 16934
> _NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL
> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL
> _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x4, 0x0, 0x1, 0x3, 0x0
> WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_CONTEXT_HELP
> WM_NAME(STRING) = "gotmor.googlepages.com - Konqueror"
> WM_LOCALE_NAME(STRING) = "de_DE"
> WM_CLASS(STRING) = "konqueror", "Konqueror"
> WM_HINTS(WM_HINTS):
> Client accepts input or input focus: True
> Initial state is Normal State.
> bitmap id # to use for icon: 0x12005cd
> bitmap id # of mask for icon: 0x12005ce
> window id # of group leader: 0x1200002
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
> user specified location: 512, 371
> program specified location: 512, 371
> user specified size: 415 by 157
> program specified size: 415 by 157
> program specified minimum size: 415 by 157
> program specified maximum size: 414 by 156
> window gravity: NorthWest
> WM_CLIENT_MACHINE(STRING) = "blubber"
> WM_TRANSIENT_FOR(WINDOW): window id # 0x63

I pushed a change into central repo which might fix this, can
you please recheck?
Actually I assume that dwm doesn't knows a window with id 0x63,
so it skips the transient_for hint in this case, which is a
fault.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Wed Apr 11 2007 - 15:20:56 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:40:38 UTC