~vanvugt/compiz-core/fix-880707.2

« back to all changes in this revision

Viewing changes to include/compiz.h

  • Committer: David Reveman
  • Date: 2006-05-07 18:24:03 UTC
  • Revision ID: git-v1:ff946575e1cd2b100343fa8168068f4d26988eb5
Minimized windows and icon support in switcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
typedef struct _CompScreen  CompScreen;
48
48
typedef struct _CompWindow  CompWindow;
49
49
typedef struct _CompTexture CompTexture;
 
50
typedef struct _CompIcon    CompIcon;
50
51
 
51
52
/* virtual modifiers */
52
53
 
502
503
 
503
504
    Atom wmUserTimeAtom;
504
505
 
 
506
    Atom wmIconAtom;
 
507
 
505
508
    Atom clientListAtom;
506
509
    Atom clientListStackingAtom;
507
510
 
882
885
                          unsigned int        *returnHeight);
883
886
 
884
887
Bool
 
888
iconToTexture (CompScreen *screen,
 
889
               CompIcon   *icon);
 
890
 
 
891
Bool
885
892
bindPixmapToTexture (CompScreen  *screen,
886
893
                     CompTexture *texture,
887
894
                     Pixmap      pixmap,
921
928
#define COMP_SCREEN_OPTION_SIZE                3
922
929
#define COMP_SCREEN_OPTION_OPACITY_STEP        4
923
930
#define COMP_SCREEN_OPTION_UNREDIRECT_FS       5
924
 
#define COMP_SCREEN_OPTION_NUM                 6
 
931
#define COMP_SCREEN_OPTION_DEFAULT_ICON        6
 
932
#define COMP_SCREEN_OPTION_NUM                 7
925
933
 
926
934
#ifndef GLX_EXT_texture_from_pixmap
927
935
#define GLX_BIND_TO_TEXTURE_RGB_EXT        0x20D0
1126
1134
    unsigned int count;
1127
1135
} CompScreenEdge;
1128
1136
 
 
1137
struct _CompIcon {
 
1138
    CompTexture texture;
 
1139
    int         width;
 
1140
    int         height;
 
1141
};
 
1142
 
1129
1143
struct _CompScreen {
1130
1144
    CompScreen  *next;
1131
1145
    CompDisplay *display;
1180
1194
 
1181
1195
    CompGroup *groups;
1182
1196
 
 
1197
    CompIcon *defaultIcon;
 
1198
 
1183
1199
    Bool canDoSaturated;
1184
1200
    Bool canDoSlightlySaturated;
1185
1201
 
1538
1554
 
1539
1555
    CompStruts *struts;
1540
1556
 
 
1557
    CompIcon **icon;
 
1558
    int      nIcon;
 
1559
 
1541
1560
    XWindowChanges saveWc;
1542
1561
    int            saveMask;
1543
1562
 
1836
1855
int
1837
1856
defaultViewportForWindow (CompWindow *w);
1838
1857
 
 
1858
CompIcon *
 
1859
getWindowIcon (CompWindow *w,
 
1860
               int        width,
 
1861
               int        height);
 
1862
 
 
1863
void
 
1864
freeWindowIcons (CompWindow *w);
 
1865
 
1839
1866
 
1840
1867
/* plugin.c */
1841
1868