Can I have window decoration on lxpanel?

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
natirips
Posts: 2
Joined: Mon Jun 07, 2010 7:34 am
Location: ~Zagreb
Contact:

Can I have window decoration on lxpanel?

Post 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?
./fridge
make
sudo make breakfast
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: Can I have window decoration on lxpanel?

Post by Marty Jack »

Not without editing the source, in the released version.
natirips
Posts: 2
Joined: Mon Jun 07, 2010 7:34 am
Location: ~Zagreb
Contact:

Re: Can I have window decoration on lxpanel?

Post 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.
Attachments
lxpanel_compile_fail.log.gz
(6.28 KiB) Downloaded 339 times
./fridge
make
sudo make breakfast
Locked