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

Remove unused argument from wDefaultFillAttributes()

The function wDefaultFillAttributes() doesn't use the argument WScreen,
so it can be removed.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-07-03 11:47:15 +02:00
committed by Carlos R. Mafra
parent d6db53af0b
commit f5d845cfad
5 changed files with 11 additions and 12 deletions

View File

@@ -804,7 +804,7 @@ static void launchDockedApplication(WAppIcon *btn, Bool withSelection)
if (btn->wm_instance || btn->wm_class) {
WWindowAttributes attr;
memset(&attr, 0, sizeof(WWindowAttributes));
wDefaultFillAttributes(scr, btn->wm_instance, btn->wm_class, &attr, NULL, True);
wDefaultFillAttributes(btn->wm_instance, btn->wm_class, &attr, NULL, True);
if (!attr.no_appicon && !btn->buggy_app)
btn->launching = 1;
@@ -1840,8 +1840,7 @@ int wDockReceiveDNDDrop(WScreen *scr, XEvent *event)
if (btn->wm_instance || btn->wm_class) {
WWindowAttributes attr;
memset(&attr, 0, sizeof(WWindowAttributes));
wDefaultFillAttributes(btn->icon->core->screen_ptr,
btn->wm_instance, btn->wm_class, &attr, NULL, True);
wDefaultFillAttributes(btn->wm_instance, btn->wm_class, &attr, NULL, True);
if (!attr.no_appicon)
btn->launching = 1;