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:
committed by
Carlos R. Mafra
parent
803eb68fc4
commit
6ad22c8672
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user