mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 06:38:05 +01:00
Fix internal function name typo
The patch is to fix a typo in the fct name movePionterToWindowCenter
This commit is contained in:
committed by
Carlos R. Mafra
parent
91e7f37074
commit
157d1ba85f
@@ -2215,7 +2215,7 @@ void wMakeWindowVisible(WWindow *wwin)
|
||||
}
|
||||
}
|
||||
|
||||
void movePionterToWindowCenter(WWindow *wwin)
|
||||
void movePointerToWindowCenter(WWindow *wwin)
|
||||
{
|
||||
if (!wPreferences.pointer_with_half_max_windows)
|
||||
return;
|
||||
|
||||
@@ -84,7 +84,7 @@ void wUnfullscreenWindow(WWindow *wwin);
|
||||
void animateResize(WScreen *scr, int x, int y, int w, int h, int fx, int fy, int fw, int fh);
|
||||
void update_saved_geometry(WWindow *wwin);
|
||||
|
||||
void movePionterToWindowCenter(WWindow *wwin);
|
||||
void movePointerToWindowCenter(WWindow *wwin);
|
||||
void moveBetweenHeads(WWindow *wwin, int direction);
|
||||
|
||||
#endif
|
||||
|
||||
18
src/event.c
18
src/event.c
@@ -1512,7 +1512,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_HORIZONTAL | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_LHMAXIMIZE:
|
||||
@@ -1520,7 +1520,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_VERTICAL | MAX_LEFTHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_RHMAXIMIZE:
|
||||
@@ -1528,7 +1528,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_VERTICAL | MAX_RIGHTHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_THMAXIMIZE:
|
||||
@@ -1536,7 +1536,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_HORIZONTAL | MAX_TOPHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_BHMAXIMIZE:
|
||||
@@ -1544,7 +1544,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_HORIZONTAL | MAX_BOTTOMHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_LTCMAXIMIZE:
|
||||
@@ -1552,7 +1552,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_LEFTHALF | MAX_TOPHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_RTCMAXIMIZE:
|
||||
@@ -1560,7 +1560,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_RIGHTHALF | MAX_TOPHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_LBCMAXIMIZE:
|
||||
@@ -1568,7 +1568,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_LEFTHALF | MAX_BOTTOMHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_RBCMAXIMIZE:
|
||||
@@ -1576,7 +1576,7 @@ static void handleKeyPress(XEvent * event)
|
||||
CloseWindowMenu(scr);
|
||||
|
||||
handleMaximize(wwin, MAX_RIGHTHALF | MAX_BOTTOMHALF | MAX_KEYBOARD);
|
||||
movePionterToWindowCenter(wwin);
|
||||
movePointerToWindowCenter(wwin);
|
||||
}
|
||||
break;
|
||||
case WKBD_MAXIMUS:
|
||||
|
||||
Reference in New Issue
Block a user