Page 1 of 1

Can I have window decoration on lxpanel?

Posted: Mon Jun 07, 2010 7:42 am
by natirips
All of my windows (except the desktop and lxpanel) have window decorations on them. I'd also like to have it on lxpanel. Is it possible?

I tried in compiz's ccsm under "Window decorations" -> "Decoration windows" and set it to "any | class=lxpanel", but nothing changed (somewhat the same situation that happened to me before with gnome-panel which I removed completely afterwards because I did not use it at all).

So is it possible to make lxpanel behave like a normal window with window decoration?

Re: Can I have window decoration on lxpanel?

Posted: Mon Jun 07, 2010 9:32 am
by Marty Jack
Not without editing the source, in the released version.

Re: Can I have window decoration on lxpanel?

Posted: Mon Jun 07, 2010 8:39 pm
by natirips
Hmm, I changed a line in src/panel.c from

Code: Select all

p->topgwin = (GtkWidget*)g_object_new(PANEL_TOPLEVEL_TYPE, NULL);
to

Code: Select all

p->topgwin = (GtkWidget*)g_object_new(GTK_TYPE_WINDOW, NULL);
but it won't compile (I've attached the log).

The source was downloaded from http://ftp.de.debian.org/debian/pool/ma ... rig.tar.gz (found at http://packages.debian.org/squeeze/lxpanel ).

Btw, I have lxpanel installed and running well, so I doubt it's some dependency.