mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-27 00:42:32 +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
@@ -4,7 +4,7 @@ BUILT_SOURCES = wconfig.h
|
||||
|
||||
bin_PROGRAMS = wmaker
|
||||
|
||||
EXTRA_DIST =
|
||||
EXTRA_DIST =
|
||||
|
||||
wmaker_SOURCES = \
|
||||
GNUstep.h \
|
||||
@@ -152,7 +152,7 @@ AM_CFLAGS =
|
||||
|
||||
AM_CPPFLAGS = $(DFLAGS) \
|
||||
-I$(top_srcdir)/wrlib \
|
||||
-I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@
|
||||
-I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@
|
||||
|
||||
|
||||
wmaker_LDADD = \
|
||||
|
||||
@@ -934,9 +934,9 @@ Bool wHandleAppIconMove(WAppIcon *aicon, XEvent *event)
|
||||
|
||||
shad_x = lastDock->x_pos + ix*wPreferences.icon_size;
|
||||
shad_y = lastDock->y_pos + iy*wPreferences.icon_size;
|
||||
|
||||
|
||||
XMoveWindow(dpy, scr->dock_shadow, shad_x, shad_y);
|
||||
|
||||
|
||||
if (!ondock) {
|
||||
XMapWindow(dpy, scr->dock_shadow);
|
||||
}
|
||||
@@ -945,7 +945,7 @@ Bool wHandleAppIconMove(WAppIcon *aicon, XEvent *event)
|
||||
lastDock = theNewDock; // i.e., NULL
|
||||
if (ondock) {
|
||||
XUnmapWindow(dpy, scr->dock_shadow);
|
||||
/*
|
||||
/*
|
||||
* Leaving that weird comment for now.
|
||||
* But if we see no gap, there is no need to fill one!
|
||||
* We could test ondock first and the lastDock to NULL afterwards
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -669,7 +669,7 @@ void update_icon_pixmap(WIcon *icon)
|
||||
XFreePixmap(dpy, icon->pixmap);
|
||||
|
||||
icon->pixmap = None;
|
||||
|
||||
|
||||
/* Create the pixmap */
|
||||
if (icon->file_image)
|
||||
icon_update_pixmap(icon, icon->file_image);
|
||||
|
||||
@@ -907,7 +907,7 @@ void wScreenRestoreState(WScreen * scr)
|
||||
state = WMGetFromPLDictionary(scr->session_state, dClip);
|
||||
scr->clip_icon = wClipRestoreState(scr, state);
|
||||
}
|
||||
|
||||
|
||||
if (!wPreferences.flags.nodrawer) {
|
||||
if (!scr->dock->on_right_side) {
|
||||
/* Drawer tile was created early in wScreenInit() -> wReadDefaults(). At
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
/*
|
||||
* Some of the following options can be configured in the preference files,
|
||||
* but if for some reason they can't, these are their defaults.
|
||||
*
|
||||
*
|
||||
* There are also some options that can only be configured here, at compile time.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1686,7 +1686,7 @@ Bool wNETWMProcessClientMessage(XClientMessageEvent *event)
|
||||
wwin->flags.maximized = maximized;
|
||||
wUnmaximizeWindow(wwin);
|
||||
} else {
|
||||
wMaximizeWindow(wwin, wwin->flags.maximized,
|
||||
wMaximizeWindow(wwin, wwin->flags.maximized,
|
||||
wGetHeadForWindow(wwin));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user