mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 11:02:35 +01:00
Remove trailing whitespace.
Also, the script is a one-liner, stolen from [1]: ack --print0 -l '[ \t]+$' | xargs -0 -n1 perl -pi -e 's/[ \t]+$//' [1] https://stackoverflow.com/questions/149057/how-to-remove-trailing-whitespace-of-all-files-recursively
This commit is contained in:
committed by
Carlos R. Mafra
parent
a17d131da3
commit
54a24ab6f7
@@ -603,7 +603,7 @@ static void toggleAutoAttractCallback(WMenu *menu, WMenuEntry *entry)
|
||||
|
||||
if (dock->attract_icons) {
|
||||
if (dock->type == WM_DRAWER) {
|
||||
/* The newly auto-attracting dock is a drawer: disable any clip and
|
||||
/* The newly auto-attracting dock is a drawer: disable any clip and
|
||||
* previously attracting drawer */
|
||||
|
||||
if (!wPreferences.flags.noclip) {
|
||||
@@ -843,7 +843,7 @@ static WAppIcon *mainIconCreate(WScreen *scr, int type, const char *name)
|
||||
name = findUniqueName(scr, "Drawer");
|
||||
btn = wAppIconCreateForDock(scr, NULL, name, "WMDrawer", TILE_DRAWER);
|
||||
btn->icon->core->descriptor.handle_expose = drawerIconExpose;
|
||||
x_pos = 0;
|
||||
x_pos = 0;
|
||||
}
|
||||
|
||||
btn->xindex = 0;
|
||||
@@ -4386,7 +4386,7 @@ static int addADrawer(WScreen *scr)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!found_y)
|
||||
/* This can happen even when dock->icon_count + scr->drawer_count
|
||||
* < dock->max_icons when the dock is not aligned on an
|
||||
|
||||
Reference in New Issue
Block a user