PDA

View Full Version : Ugly shadow


Lucifer
October 20th, 2007, 02:34 PM
Hi

I'm getting this (see picture) ugly shadow on my transparent toolbar. Any way to remove that one but on no others?

http://thelucifer.net/tmp/screenshot.png

// Lucifer

Deciare
October 20th, 2007, 02:41 PM
Can you show us the xprop output of that toolbar? Open a console, type xprop and click on the toolbar.

Using xprop's output, you can write a window matching rule for ccsm->Window Decoration->Shadow windows that treats the toolbar as an exception.

Lucifer
October 20th, 2007, 03:47 PM
Here's the output. I stripped some of it where all the dots is because i seriously doubt any of it was needed.

_NET_WM_USER_TIME(CARDINAL) = 3179702930
XKLAVIER_STATE(INTEGER) = 0, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
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_INF O) = 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: 0x80001e
bitmap id # of mask for icon: 0x800025
window id # of group leader: 0x800003
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 48, 0, 0, 0, 0, 0, 0, 1919, 0, 0
_NET_WM_STRUT(CARDINAL) = 0, 0, 48, 0
_NET_WM_ICON(CARDINAL) = 22, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4287138437, 4287138437, 4287138437, 4287138437, 4287138437, 4287138437, 4287138437, 4287138437, 4287138437, 4287138437,

.................................................. ................

3537098702, 3251886031, 2966738639, 2664683471, 2379536334, 2094323920, 1809110735, 1507121102
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 8388613
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x800004
WM_CLIENT_LEADER(WINDOW): window id # 0x800001
_NET_WM_PID(CARDINAL) = 7120
WM_LOCALE_NAME(STRING) = "sv_SE.UTF-8"
WM_CLIENT_MACHINE(STRING) = "hades"
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) = "Utf\303\244lld \303\266verkantspanel"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x55, 0x74, 0x66, 0xc3, 0xa4, 0x6c, 0x6c, 0x64, 0x20, 0xc3, 0xb6, 0x76, 0x65, 0x72, 0x6b, 0x61, 0x6e, 0x74, 0x73, 0x70, 0x61, 0x6e, 0x65, 0x6c
WM_NAME(STRING) = "Utf\303\244lld \303\266verkantspanel"
_NET_WM_NAME(UTF8_STRING) = 0x55, 0x74, 0x66, 0xc3, 0xa4, 0x6c, 0x6c, 0x64, 0x20, 0xc3, 0xb6, 0x76, 0x65, 0x72, 0x6b, 0x61, 0x6e, 0x74, 0x73, 0x70, 0x61, 0x6e, 0x65, 0x6c

Deciare
October 20th, 2007, 05:22 PM
Try rewriting the rule at ccsm->Window Decoration->Shadow windows like this:
any & !(class=Gnome-panel)

maniac
October 20th, 2007, 08:14 PM
Try rewriting the rule at ccsm->Window Decoration->Shadow windows like this:
any & !(class=Gnome-panel)
Which essentially is the same as

!(class=Gnome-panel)

;)

I would suggest

!(type=dock)

though, as this won't rely on the regex plugin :)

Lucifer
October 20th, 2007, 09:23 PM
Thanks maniac used this since i got the regex on anyway.
!(class=Gnome-panel)

So it's the "WM_CLASS(STRING)" and "_NET_WM_WINDOW_TYPE(ATOM)" that can be used to identify? Is there any other?

Deciare
October 20th, 2007, 09:27 PM
Yes. ^_^ Behold, the complete list (http://forum.compiz-fusion.org/showthread.php?t=1768)! I'm sure there's trickier, non-straightforward stuff that can be done with it, but those are the basics.

Lucifer
October 20th, 2007, 09:33 PM
Thanks Deciare :) Bookmarked that list.