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:
committed by
Carlos R. Mafra
parent
d6db53af0b
commit
f5d845cfad
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user