1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Removed unused WScreen argument in Pixmap function

This commit is contained in:
Christophe CURIS
2013-10-12 15:35:49 +02:00
committed by Carlos R. Mafra
parent 803eb68fc4
commit 6ad22c8672
4 changed files with 5 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ WPixmap *wPixmapCreateFromXBMData(WScreen * scr, char *data, char *mask,
return pix;
}
WPixmap *wPixmapCreate(WScreen * scr, Pixmap image, Pixmap mask)
WPixmap *wPixmapCreate(Pixmap image, Pixmap mask)
{
WPixmap *pix;
Window foo;

View File

@@ -34,7 +34,7 @@ typedef struct WPixmap {
} WPixmap;
WPixmap *wPixmapCreate(WScreen *scr, Pixmap image, Pixmap mask);
WPixmap *wPixmapCreate(Pixmap image, Pixmap mask);
WPixmap *wPixmapCreateFromXPMData(WScreen *scr, char **data);

View File

@@ -242,7 +242,7 @@ static WPixmap *make3Dots(WScreen * scr)
XFreeGC(dpy, gc2);
wpix = wPixmapCreate(scr, pix, mask);
wpix = wPixmapCreate(pix, mask);
wpix->shared = 1;
return wpix;

View File

@@ -2109,7 +2109,7 @@ void wWindowUpdateButtonImages(WWindow *wwin)
}
if (!fwin->lbutton_image) {
fwin->lbutton_image = wPixmapCreate(scr, pixmap, mask);
fwin->lbutton_image = wPixmapCreate(pixmap, mask);
fwin->lbutton_image->client_owned = 1;
fwin->lbutton_image->client_owned_mask = 1;
}
@@ -2150,7 +2150,7 @@ void wWindowUpdateButtonImages(WWindow *wwin)
}
if (!fwin->rbutton_image) {
fwin->rbutton_image = wPixmapCreate(scr, pixmap, mask);
fwin->rbutton_image = wPixmapCreate(pixmap, mask);
fwin->rbutton_image->client_owned = 1;
fwin->rbutton_image->client_owned_mask = 1;
}