PDA

View Full Version : Decoration managers questions


gasol
April 16th, 2007, 06:57 PM
Hello first post here at the forums, and I don't really know where to post it, since i don't know if a decorator qualifies as a plugin or not, but here goes:

Im trying to write a Windowmaker look-a-like decorator to compiz, tho, im not really sure im doing it the right way, The way im doing it right now is telling libdecorator that i´m interested in becoming the "manager" of the current screen. Then i select the StructureNotify events on the root window and try to snoop out when a new window is created and mapped, and then reparent it onto my parent window (frame) and then handle event that are sent to the frame.

To move and resize the window I can send a _NET_WM_MOVERESIZE atom to the root window and compiz handles that for me (with a nice wobbly effect ^_^), I was wondering can i do the same thing with minimize / shade / close actions on a window?

How it looks now:
http://arlong-park.mine.nu/xgl-screen.png (quite big screenshot)

Thanks in advance and I hope you understand my English, i´m not a native speaker.

/Gasol

RYX
April 16th, 2007, 07:36 PM
Hi Gasol! I am not of much help with your question - I just wanted to note that I moved your post to Development Help. And from what the screenshot shows, that is already a very nice looking app you have there. Keep on :D ...

:)

gasol
April 18th, 2007, 09:58 PM
I got help from the mailing list so this thread can be marked as solved!