mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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
@@ -302,7 +302,7 @@ void wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
|
||||
WScreen *scr = wwin->screen_ptr;
|
||||
|
||||
/* sets global default stuff */
|
||||
wDefaultFillAttributes(scr, wwin->wm_instance, wwin->wm_class, &wwin->client_flags, NULL, True);
|
||||
wDefaultFillAttributes(wwin->wm_instance, wwin->wm_class, &wwin->client_flags, NULL, True);
|
||||
/*
|
||||
* Decoration setting is done in this precedence (lower to higher)
|
||||
* - use global default in the resource database
|
||||
@@ -393,8 +393,8 @@ void wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
|
||||
* Set attributes specified only for that window/class.
|
||||
* This might do duplicate work with the 1st wDefaultFillAttributes().
|
||||
*/
|
||||
wDefaultFillAttributes(scr, wwin->wm_instance, wwin->wm_class,
|
||||
&wwin->user_flags, &wwin->defined_user_flags, False);
|
||||
wDefaultFillAttributes(wwin->wm_instance, wwin->wm_class, &wwin->user_flags,
|
||||
&wwin->defined_user_flags, False);
|
||||
/*
|
||||
* Sanity checks for attributes that depend on other attributes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user