Re: avoiding focus on a specific client (i.e. gnome panel)
Stefano Zacchiroli <zack <at> upsilon.cc>
2010-11-06 11:14:43 GMT
On Sat, Nov 06, 2010 at 11:58:34AM +0100, Uli Schlachter wrote:
> I'd expect awful.client.focus.filter to already catch the GNOME panel with its
> 'c.type == "dock"' check. Could you run "xprop -frame" in a terminal and then
> click on the GNOME panel and paste the result?
Attached. And indeed it shows _NET_WM_WINDOW_TYPE_DOCK, which I guess
should match the 'c.type == "dock"' check. Bug?
Some more info that can be useful: I'm able to focus the panel by
clicking on it (or on some of its widgets of course), but I'm not able
to focus it neither via mouse-over/sloppy-focus, nor via Mod4-Tab.
In case it helps, attached there's also a screenshot showing the focused
GNOME panel, with its drop shadow over a sole Emacs window. In that
situation, if I do Mod4-Tab, Emacs gets focused, and further Mod4-Tab
does not give back the focus to the GNOME panel.
> You are right that the "focusable" property cannot be modified. It is
> set from the window manager hints of the client. The xprop output
> would also show these.
Ack, thanks.
> Also, which exact version of awesome are you using?
3.4.8, from Debian/unstable (specific Debian version is 3.4.8-1).
Cheers.
--
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc <at> Univ. Paris 7
zack <at> {upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, | . |. I've fans everywhere
ti resta John Fante -- V. Caposella .......| ..: |.......... -- C. Adams
_NET_WM_USER_TIME(CARDINAL) = 13832145
XKLAVIER_TRANSPARENT(INTEGER) = 1
WM_COLORMAP_WINDOWS(WINDOW): window id # 0xe000f3, 0xe0010f, 0xe00111, 0xe001a3, 0xe001a5,
0xe001a7, 0xe001a9, 0xe0131d, 0xe01604
XKLAVIER_STATE(INTEGER) = 0, 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0xe00020
bitmap id # of mask for icon: 0xe00023
window id # of group leader: 0xe00003
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 24, 0, 0, 0, 0, 0, 0, 1439, 0, 0
_NET_WM_STRUT(CARDINAL) = 0, 0, 24, 0
_NET_WM_ICON(CARDINAL) = Icon (22 x 22):
░░░░░░░░░░░░░░░░░░░
░
░ ░░░░░░░░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ▒ ░
░ ░ ▒█ ░
░ ░ ▒█ ░
░ ░ ▒ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░░░░░░░░
░
░░░░░░░░░░░░░░░░░░░░
Icon (16 x 16):
░░░░░░░░░░░░░░
░
░ ░░░░░░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ▒ ░
░ ░ ▒█ ░
░ ░ ▒█ ░
░ ░ ▒ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░░░░░░
░
░░░░░░░░░░░░░░
Icon (24 x 24):
░░░░░░░░░░░░░░░░░░░
░
░ ░░░░░░░░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ▒ ░
░ ░ ▒█ ░
░ ░ ▒█ ░
░ ░ ▒ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░ ░
░ ░░░░░░░░
░
░░░░░░░░░░░░░░░░░░░░
Icon (32 x 32):
░░░░░░░░░░░░░░░░░░░░░░░░░░░
░
░ ░░░░░░░
░ ░ ░
░ ░ ░ ░░ ░▒▒░
░ ░ ░ ░▓▒ ░▓▒▒░
░ ░ ░ ░▒░░▓▒ ▒▓▒▒░
░ ░ ░ ▒▓░░▓░ ▒▓▒░
░ ░ ░ ▒░░▓░ ░ ▒▓░
░ ░ ░ ▓▒ ░ ░░
░ ░ ▒ ░ ░▒ ░▒▓▓▓▓▒
░ ░ ▓█ ░ ░▒▓▓▓▓▓▓▓░
░ ░ ▒██ ░ ░▓▓▓▓▓▓▓▓▓░
░ ░ ▓█ ░ ▒▓▓▓▓▓▓▓▓▒
░ ░ ▒ ░ ▒▓▓▓▓▓▓▓░
░ ░ ░ ▒▓▓▓▓▓▒
░ ░ ░ ░▓▓▓▓░ ░░░
░ ░ ░ ▒▓▓▒ ░▓▓▒
░ ░ ░ ░▓▓▓▒░▒▓▓░
░ ░ ░ ░▒▓▓▓▓▓▒
░ ░ ░ ░▒▓▒░
░ ░ ░
░ ░ ░
░ ░░░░░░░
░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Icon (48 x 48):
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░
░ ░░░░░░░░░
░ ░ ░
░ ░ ░ ░ ░▒▓▒
░ ░ ░ ▒▓░ ▒▓▓▓▓
░ ░ ░ ░░ ░▓▓▒ ░▓▓▓▓▒
░ ░ ░ ▓▓░░▓▓░ ▒▓▓▓▓░
░ ░ ░ ▓▓░ ▒▓░ ▒▓▓▓░
░ ░ ░ ░▒ ▒▓░ ░░ ░▓▓░
░ ░ ░ ▓▓░ ░ ░
░ ░ ░ ▒▓░ ░░▒▒▒▒░
░ ░ ▒ ░ ▒░ ░▒▓▓▓▓▓▓▓▒
░ ░ ▓█ ░ ▒▓▓▓▓▓▓▓▓▓▓
░ ░ ▒██ ░ ▒▓▓▓▓▓▓▓▓▓▓▒
░ ░ ▓█ ░ ░▓▓▓▓▓▓▓▓▓▓▓░
░ ░ ▒ ░ ░▓▓▓▓▓▓▓▓▓▒░
░ ░ ░ ░▓▓▓▓▓▓▓▓▒
░ ░ ░ ░▓▓▓▓▓▓▒░
░ ░ ░ ▓▓▓▓▓▒ ░░░
░ ░ ░ ▒▓▓▓▓░ ░▓▓▓░
░ ░ ░ ▒▓▓▓▒ ▒▓▓▓░
░ ░ ░ ░▒▓▓▓▒▒▓▓▓▒
░ ░ ░ ░▒▓▓▓▓▓▓▒
░ ░ ░ ░▒▓▓▓░
░ ░ ░
░ ░ ░
░ ░░░░░░░░░
░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Icon (48 x 48):
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░
░ ░░░░░░░░░
░ ░ ░
░ ░ ░ ░ ░▒▓▒
░ ░ ░ ▒▓░ ▒▓▓▓▓
░ ░ ░ ░░ ░▓▓▒ ░▓▓▓▓▒
░ ░ ░ ▓▓░░▓▓░ ▒▓▓▓▓░
░ ░ ░ ▓▓░ ▒▓░ ▒▓▓▓░
░ ░ ░ ░▒ ▒▓░ ░░ ░▓▓░
░ ░ ░ ▓▓░ ░ ░
░ ░ ░ ▒▓░ ░░▒▒▒▒░
░ ░ ▒ ░ ▒░ ░▒▓▓▓▓▓▓▓▒
░ ░ ▓█ ░ ▒▓▓▓▓▓▓▓▓▓▓
░ ░ ▒██ ░ ▒▓▓▓▓▓▓▓▓▓▓▒
░ ░ ▓█ ░ ░▓▓▓▓▓▓▓▓▓▓▓░
░ ░ ▒ ░ ░▓▓▓▓▓▓▓▓▓▒░
░ ░ ░ ░▓▓▓▓▓▓▓▓▒
░ ░ ░ ░▓▓▓▓▓▓▒░
░ ░ ░ ▓▓▓▓▓▒ ░░░
░ ░ ░ ▒▓▓▓▓░ ░▓▓▓░
░ ░ ░ ▒▓▓▓▒ ▒▓▓▓░
░ ░ ░ ░▒▓▓▓▒▒▓▓▓▒
░ ░ ░ ░▒▓▓▓▓▓▓▒
░ ░ ░ ░▒▓▓▓░
░ ░ ░
░ ░ ░
░ ░░░░░░░░░
░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 14680069
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0xe00004
WM_CLIENT_LEADER(WINDOW): window id # 0xe00001
_NET_WM_PID(CARDINAL) = 9516
WM_LOCALE_NAME(STRING) = "it_IT.utf8"
WM_CLIENT_MACHINE(STRING) = "usha"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified location: 0, 0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "gnome-panel", "Gnome-panel"
WM_ICON_NAME(STRING) = "Top Expanded Edge Panel"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x54, 0x6f, 0x70, 0x20, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65,
0x64, 0x20, 0x45, 0x64, 0x67, 0x65, 0x20, 0x50, 0x61, 0x6e, 0x65, 0x6c
WM_NAME(STRING) = "Top Expanded Edge Panel"
_NET_WM_NAME(UTF8_STRING) = 0x54, 0x6f, 0x70, 0x20, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64,
0x20, 0x45, 0x64, 0x67, 0x65, 0x20, 0x50, 0x61, 0x6e, 0x65, 0x6c
