mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 15:12:32 +01:00
Remove apostrophes from instances of possessive "its".
I noticed one instance of this while looking at the code the other day, and after a quick grep, realized it happened a *lot*! One of the many frustrating things about the English language is that we use apostrophes to make pretty much everything possessive *except* the pronoun "it". In that case, we use "its". "It's" is reserved for the contraction meaning "it is" or "it has".
This commit is contained in:
committed by
Carlos R. Mafra
parent
6320bb6219
commit
a17d131da3
@@ -577,7 +577,7 @@ void handleMaximize(WWindow *wwin, int directions)
|
||||
* corners) and only when requested state is also half maximized, but on
|
||||
* opposite side of the screen. As for corners, it is similar, but
|
||||
* expected is that only quarter maximized windows on corner can change
|
||||
* it's state to half maximized window, depending on direction. Note, that
|
||||
* its state to half maximized window, depending on direction. Note, that
|
||||
* MAX_KEYBOARD is passed to the wMaximizeWindow function, to preserve the
|
||||
* head, even if mouse was used for triggering the action. */
|
||||
|
||||
|
||||
@@ -2074,7 +2074,7 @@ getWSSpecificBackground(WScreen * scr, WDefaultEntry * entry, WMPropList * value
|
||||
* Kluge to force wmsetbg helper to set the default background.
|
||||
* If the WorkspaceSpecificBack is changed once wmaker has started,
|
||||
* the WorkspaceBack won't be sent to the helper, unless the user
|
||||
* changes it's value too. So, we must force this by removing the
|
||||
* changes its value too. So, we must force this by removing the
|
||||
* value from the defaults DB.
|
||||
*/
|
||||
if (!scr->flags.backimage_helper_launched && !scr->flags.startup) {
|
||||
|
||||
@@ -2628,7 +2628,7 @@ Bool wDockSnapIcon(WDock *dock, WAppIcon *icon, int req_x, int req_y, int *ret_x
|
||||
continue;
|
||||
for (i = 0; i < tmp->max_icons; i++) {
|
||||
nicon = tmp->icon_array[i];
|
||||
if (nicon && nicon != icon && /* Icon can't be it's own neighbour */
|
||||
if (nicon && nicon != icon && /* Icon can't be its own neighbour */
|
||||
(abs(nicon->xindex - ex_x) <= CLIP_ATTACH_VICINITY &&
|
||||
abs(nicon->yindex - ex_y) <= CLIP_ATTACH_VICINITY)) {
|
||||
neighbours = 1;
|
||||
|
||||
@@ -1994,7 +1994,7 @@ static void menuMouseDown(WObjDescriptor * desc, XEvent * event)
|
||||
wusleep(MENU_BLINK_DELAY);
|
||||
}
|
||||
#endif
|
||||
/* unmap the menu, it's parents and call the callback */
|
||||
/* unmap the menu, its parents and call the callback */
|
||||
if (!menu->flags.buttoned && (!menu->flags.app_menu || menu->parent != NULL)) {
|
||||
closeCascade(menu);
|
||||
} else {
|
||||
@@ -2234,7 +2234,7 @@ static void menuTitleMouseDown(WCoreWindow * sender, void *data, XEvent * event)
|
||||
* closed when the button is clicked.
|
||||
*
|
||||
* Side effects:
|
||||
* The closed menu is reinserted at it's parent menus
|
||||
* The closed menu is reinserted at its parent menus
|
||||
* cascade list.
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@@ -64,7 +64,7 @@ typedef struct WMenu {
|
||||
int frame_x, frame_y; /* position of the frame in root*/
|
||||
|
||||
WMenuEntry **entries; /* array of entries. This is shared
|
||||
* by the menu and it's "brother" */
|
||||
* by the menu and its "brother" */
|
||||
short alloced_entries; /* number of entries allocated in
|
||||
* entry array */
|
||||
struct WMenu **cascades; /* array of cascades */
|
||||
|
||||
@@ -57,7 +57,7 @@ typedef struct WDrawerChain {
|
||||
} WDrawerChain;
|
||||
|
||||
/*
|
||||
* each WScreen is saved into a context associated with it's root window
|
||||
* each WScreen is saved into a context associated with its root window
|
||||
*/
|
||||
typedef struct _WScreen {
|
||||
int screen; /* screen number */
|
||||
|
||||
@@ -336,7 +336,7 @@ void wLowerFrame(WCoreWindow * frame)
|
||||
if (owner != wlist) {
|
||||
while (wlist->stacking->under) {
|
||||
/* if this is a transient, it should not be placed under
|
||||
* it's owner */
|
||||
* its owner */
|
||||
if (owner == wlist->stacking->under)
|
||||
break;
|
||||
wlist = wlist->stacking->under;
|
||||
@@ -391,7 +391,7 @@ void wLowerFrame(WCoreWindow * frame)
|
||||
* None
|
||||
*
|
||||
* Side effects:
|
||||
* The frame is added to it's screen's window list.
|
||||
* The frame is added to its screen's window list.
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
void AddToStackList(WCoreWindow * frame)
|
||||
|
||||
@@ -190,7 +190,7 @@ void UpdateSwitchMenu(WScreen * scr, WWindow * wwin, int action)
|
||||
* 1. When a window is created.
|
||||
* 2. When a window is destroyed.
|
||||
*
|
||||
* 3. When a window changes it's title.
|
||||
* 3. When a window changes its title.
|
||||
* 4. When a window changes its workspace.
|
||||
*/
|
||||
if (action == ACTION_ADD) {
|
||||
|
||||
@@ -173,7 +173,7 @@ typedef struct WFakeGroupLeader {
|
||||
|
||||
|
||||
/*
|
||||
* Stores client window information. Each client window has it's
|
||||
* Stores client window information. Each client window has its
|
||||
* structure created when it's being first mapped.
|
||||
*/
|
||||
typedef struct WWindow {
|
||||
|
||||
@@ -70,7 +70,7 @@ static const struct {
|
||||
{ "NoTitlebar", { .no_titlebar = 1 }, N_("Disable titlebar"),
|
||||
N_("Remove the titlebar of this window.\n"
|
||||
"To access the window commands menu of a window\n"
|
||||
"without it's titlebar, press Control+Esc (or the\n"
|
||||
"without its titlebar, press Control+Esc (or the\n"
|
||||
"equivalent shortcut, if you changed the default\n"
|
||||
"settings).") },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user