please help me implement Unity like features , undecorate window when maximized
Aaron Lewis
the.warl0ck.1989 at gmail.com
Thu Nov 3 10:30:27 CET 2011
Hi,
I wanted to hide window borders when it's maximized , so i
downloaded xfwm4's source , and figured out my first station
should be client.c
void clientToggleMaximized ()
But when i try to use gtk_window_set_decorated () to remove borders
I got confused about which GtkWidget is should use ?
//// in clientToggleMaximized:
if ( restore_position )
{
gtk_window_set_decorated ( ?? , FALSE );
}
else
{
gtk_window_set_decorated ( ?? , TRUE );
}
////
I'll really appreciate it if any developers could tell a bit about
the structure of XFWM4 , which saves my time ..
Thanks in advance !
--
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
More information about the Xfce4-dev
mailing list