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
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