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

wmaker: Fix typos (used codespell).

This commit is contained in:
Doug Torrance
2016-01-17 15:47:49 -05:00
committed by Carlos R. Mafra
parent e5632a9120
commit 42e4069541
16 changed files with 23 additions and 23 deletions

View File

@@ -1136,7 +1136,7 @@ void wIconifyWindow(WWindow *wwin)
wwin->icon = icon_create_for_wwindow(wwin);
wwin->icon->mapped = 1;
/* extract the window screenshot everytime, as the option can be enable anytime */
/* extract the window screenshot every time, as the option can be enable anytime */
if (wwin->client_win && wwin->flags.mapped) {
RImage *mini_preview;
XImage *pimg;

View File

@@ -535,7 +535,7 @@ static void appiconBalloon(WObjDescriptor *object)
/*
* Check to see if it is a GNUstep app, because in this case we use the instance
* instead of the class, otherwise the user will not be able to distinguish what
* is being refered.
* is being referred.
*/
if (strcmp(aicon->wm_class, "GNUstep") == 0)
display_name = aicon->wm_instance;

View File

@@ -545,7 +545,7 @@ WDefaultEntry optionList[] = {
{"WorkspaceSpecificBack", "()", NULL,
NULL, getWSSpecificBackground, setWorkspaceSpecificBack, NULL, NULL},
/* WorkspaceBack must come after WorkspaceSpecificBack or
* WorkspaceBack wont know WorkspaceSpecificBack was also
* WorkspaceBack won't know WorkspaceSpecificBack was also
* specified and 2 copies of wmsetbg will be launched */
{"WorkspaceBack", "(solid, black)", NULL,
NULL, getWSBackground, setWorkspaceBack, NULL, NULL},

View File

@@ -1629,7 +1629,7 @@ int wShowCrashingDialogPanel(int whatSig)
WMMoveWidget(panel->note2L, 10, 130);
WMSetLabelTextAlignment(panel->note2L, WALeft);
snprintf(buf, sizeof(buf), /* Comment for the PO file: the %s is an email address */
_(" This fatal error occured probably due to a bug."
_(" This fatal error occurred probably due to a bug."
" Please fill the included BUGFORM and report it to %s."),
PACKAGE_BUGREPORT);
WMSetLabelText(panel->note2L, buf);

View File

@@ -4650,7 +4650,7 @@ static int indexOfHole(WDock *drawer, WAppIcon *moving_aicon, int redocking)
* that's where the ghost of the moving appicon is, that's what the
* function should return.
*
* We compute 1+2+...+n (this sum is equal to n*(n+1)/2), we substract to
* We compute 1+2+...+n (this sum is equal to n*(n+1)/2), we subtract to
* this sum the xindex of each of the n-1 appicons, and we get the correct
* index! */

View File

@@ -329,7 +329,7 @@ static void handle_inotify_events(void)
return;
}
/* check what events occured */
/* check what events occurred */
/* Should really check wd here too, but for now we only have one watch! */
while (i < eventQLength) {
struct inotify_event *pevent = (struct inotify_event *)&buff[i];
@@ -408,7 +408,7 @@ noreturn void EventLoop(void)
/* check for available read data from inotify - don't block! */
retVal = select(w_global.inotify.fd_event_queue + 1, &rfds, NULL, NULL, &time);
if (retVal < 0) { /* an error has occured */
if (retVal < 0) { /* an error has occurred */
wwarning(_("select failed. The inotify instance will be closed."
" Changes to the defaults database will require"
" a restart to take effect."));
@@ -1310,7 +1310,7 @@ static void handleColormapNotify(XEvent * event)
/* some bastard app (like XV) removed our colormap */
/*
* can't enforce or things like xscreensaver wont work
* can't enforce or things like xscreensaver won't work
* reinstall = True;
*/
} else if (event->xcolormap.state == ColormapInstalled &&

View File

@@ -546,7 +546,7 @@ void PlaceWindow(WWindow *wwin, int *x_ret, int *y_ret, unsigned width, unsigned
/*
* clip to usableArea instead of full screen
* this will also take dock/clip etc.. into account
* aswell as being xinerama friendly
* as well as being xinerama friendly
*/
if (*x_ret + width > usableArea.x2)
*x_ret = usableArea.x2 - width;

View File

@@ -303,7 +303,7 @@ void wSessionSaveState(WScreen * scr)
if (win_info != NULL) {
WMAddToPLArray(list, win_info);
WMReleasePropList(win_info);
/* If we were succesful in saving the info for this window
/* If we were successful in saving the info for this window
* add the application the window belongs to, to the
* application list, so no multiple entries for the same
* application are saved.

View File

@@ -312,7 +312,7 @@ void wLowerFrame(WCoreWindow * frame)
if (wlist->stacking->under == NULL) {
return;
}
/* cant lower transient below below its owner */
/* can't lower transient below below its owner */
if (wlist->stacking->under == wlist->stacking->child_of) {
return;
}

View File

@@ -160,7 +160,7 @@ static RETSIGTYPE handleExitSig(int sig)
}
sigprocmask(SIG_UNBLOCK, &sigs, NULL);
DispatchEvent(NULL); /* Dispatch events imediately. */
DispatchEvent(NULL); /* Dispatch events immediately. */
}
/* Dummy signal handler */
@@ -532,7 +532,7 @@ void StartUp(Bool defaultScreenOnly)
/* ignore dead pipe */
/* Because POSIX mandates that only signal with handlers are reset
* accross an exec*(), we do not want to propagate ignoring SIGPIPEs
* across an exec*(), we do not want to propagate ignoring SIGPIPEs
* to children. Hence the dummy handler.
* Philippe Troin <phil@fifi.org>
*/
@@ -548,9 +548,9 @@ void StartUp(Bool defaultScreenOnly)
/* Now we unblock all signals, that may have been blocked by the parent
* who exec()-ed us. This can happen for example if Window Maker crashes
* and restarts itself or another window manager from the signal handler.
* In this case, the new proccess inherits the blocked signal mask and
* In this case, the new process inherits the blocked signal mask and
* will no longer react to that signal, until unblocked.
* This is because the signal handler of the proccess who crashed (parent)
* This is because the signal handler of the process who crashed (parent)
* didn't return, and the signal remained blocked. -Dan
*/
sigfillset(&sig_action.sa_mask);

View File

@@ -31,7 +31,7 @@
* - external! WINGs menu editor.
* TODONOT
* - allow applications to share their menu. ] think it
* looks wierd since there still are more than 1 appicon.
* looks weird since there still are more than 1 appicon.
*
* Syntax...
* (

View File

@@ -188,7 +188,7 @@
#define SINGLE_MENULEVEL
/* max. time to spend doing animations in seconds. If the animation
* time exceeds this value, it is immediately finished. Usefull for
* time exceeds this value, it is immediately finished. Useful for
* moments of high-load. DO NOT set *_DELAY_{Z,T,F} to zero!
*/
#define MAX_ANIMATION_TIME 1

View File

@@ -781,7 +781,7 @@ WWindow *wManageWindow(WScreen *scr, Window window)
#define ADEQUATE(x) ((x)!=None && (x)!=wwin->client_win && (x)!=fPtr->leader)
/* // only enter here if PropGetWMClass() succeds */
/* // only enter here if PropGetWMClass() succeeds */
PropGetWMClass(wwin->main_window, &class, &instance);
buffer = StrConcatDot(instance, class);
@@ -1241,7 +1241,7 @@ WWindow *wManageWindow(WScreen *scr, Window window)
* the window focusing (if the mouse is over that window)
* will be processed by wmaker.
* But since this event will be rather delayed
* (step 3 has a large delay) the time when the event ocurred
* (step 3 has a large delay) the time when the event occurred
* and when it is processed, the client that owns that window
* will reject the XSetInputFocus() for it.
*/
@@ -2574,7 +2574,7 @@ void wWindowResetMouseGrabs(WWindow * wwin)
/* Mouse grabs can't be done on the client window because of
* ICCCM and because clients that try to do the same will crash.
*
* But there is a problem wich makes tbar buttons of unfocused
* But there is a problem which makes tbar buttons of unfocused
* windows not usable as the click goes to the frame window instead
* of the button itself. Must figure a way to fix that.
*/

View File

@@ -527,7 +527,7 @@ static WMenu *makeWorkspaceMenu(WScreen * scr)
* The Workspace Menu is made visible in the screen structure because
* it is updated when there is a change on workspaces. This was done
* to be efficient, avoiding re-generating completely the window menu
* and its sub-menus everytime it is needed.
* and its sub-menus every time it is needed.
*/
scr->workspace_submenu = menu;

View File

@@ -235,7 +235,7 @@ static InspectorPanel *panelList = NULL;
* save the user choice to the database, but as we will need to convert that name into a Property
* List, we use here a Cache of Property Lists, generated only once, which can be reused. It will
* also save on memory because of the re-use of the same storage space instead of allocating a new
* one everytime.
* one every time.
*/
static WMPropList *pl_attribute[sizeof(window_attribute) / sizeof(window_attribute[0])] = { [0] = NULL };
static WMPropList *pl_advoptions[sizeof(advanced_option) / sizeof(advanced_option[0])];

View File

@@ -1,5 +1,5 @@
/*
* WindowMaker miscelaneous functions
* WindowMaker miscellaneous functions
*
* Copyright (c) 1997-2003 Alfredo K. Kojima
*