X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fdockapp.h;h=5f1317b88d6c6b45c1b9780a8aa54da9c508d877;hb=a6c4c0c8d8224cdc455f0d184e91d0cf881f0077;hp=65cbb6ed55ecc9f2f8590af704ec8272a66bbb48;hpb=36eddd2c06ce9b09c83102353deb213e065e901d;p=dockapps%2Fwmnotify.git diff --git a/src/dockapp.h b/src/dockapp.h index 65cbb6e..5f1317b 100644 --- a/src/dockapp.h +++ b/src/dockapp.h @@ -23,36 +23,34 @@ #include -struct XpmIcon -{ - XpmAttributes attributes; - Pixmap shapemask; - Pixmap image; +struct XpmIcon { + XpmAttributes attributes; + Pixmap shapemask; + Pixmap image; }; -struct dockapp_t -{ - Display *display; - Window root_win; - int screen; - int d_depth; - Pixel back_pix; - Pixel fore_pix; - Window iconwin; - Window win; - GC NormalGC; - struct XpmIcon xpm_icon; +struct dockapp_t { + Display *display; + Window root_win; + int screen; + int d_depth; + Pixel back_pix; + Pixel fore_pix; + Window iconwin; + Window win; + GC NormalGC; + struct XpmIcon xpm_icon; }; void -InitDockAppWindow( int argc, char *argv[], char *pixmap_data[], - char *display_arg, char *geometry_arg ); +InitDockAppWindow(int argc, char *argv[], char *pixmap_data[], + char *display_arg, char *geometry_arg); -void -RedrawWindow( void ); +void RedrawWindow(void); void -copyXPMArea( int x, int y, unsigned int sx, unsigned int sy, int dx, int dy ); +copyXPMArea(int x, int y, unsigned int sx, unsigned int sy, int dx, + int dy); /* Exported variables */ #undef _SCOPE_ @@ -64,4 +62,4 @@ copyXPMArea( int x, int y, unsigned int sx, unsigned int sy, int dx, int dy ); _SCOPE_ struct dockapp_t dockapp; -#endif /* DOCKAPP_H */ +#endif /* DOCKAPP_H */