1
0
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:
David Maciejak
2023-03-23 20:37:54 +08:00
committed by Carlos R. Mafra
parent 91e7f37074
commit 157d1ba85f
3 changed files with 11 additions and 11 deletions

View File

@@ -2215,7 +2215,7 @@ void wMakeWindowVisible(WWindow *wwin)
} }
} }
void movePionterToWindowCenter(WWindow *wwin) void movePointerToWindowCenter(WWindow *wwin)
{ {
if (!wPreferences.pointer_with_half_max_windows) if (!wPreferences.pointer_with_half_max_windows)
return; return;

View File

@@ -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 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 update_saved_geometry(WWindow *wwin);
void movePionterToWindowCenter(WWindow *wwin); void movePointerToWindowCenter(WWindow *wwin);
void moveBetweenHeads(WWindow *wwin, int direction); void moveBetweenHeads(WWindow *wwin, int direction);
#endif #endif

View File

@@ -1512,7 +1512,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_HORIZONTAL | MAX_KEYBOARD); handleMaximize(wwin, MAX_HORIZONTAL | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_LHMAXIMIZE: case WKBD_LHMAXIMIZE:
@@ -1520,7 +1520,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_VERTICAL | MAX_LEFTHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_VERTICAL | MAX_LEFTHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_RHMAXIMIZE: case WKBD_RHMAXIMIZE:
@@ -1528,7 +1528,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_VERTICAL | MAX_RIGHTHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_VERTICAL | MAX_RIGHTHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_THMAXIMIZE: case WKBD_THMAXIMIZE:
@@ -1536,7 +1536,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_HORIZONTAL | MAX_TOPHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_HORIZONTAL | MAX_TOPHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_BHMAXIMIZE: case WKBD_BHMAXIMIZE:
@@ -1544,7 +1544,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_HORIZONTAL | MAX_BOTTOMHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_HORIZONTAL | MAX_BOTTOMHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_LTCMAXIMIZE: case WKBD_LTCMAXIMIZE:
@@ -1552,7 +1552,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_LEFTHALF | MAX_TOPHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_LEFTHALF | MAX_TOPHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_RTCMAXIMIZE: case WKBD_RTCMAXIMIZE:
@@ -1560,7 +1560,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_RIGHTHALF | MAX_TOPHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_RIGHTHALF | MAX_TOPHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_LBCMAXIMIZE: case WKBD_LBCMAXIMIZE:
@@ -1568,7 +1568,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_LEFTHALF | MAX_BOTTOMHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_LEFTHALF | MAX_BOTTOMHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_RBCMAXIMIZE: case WKBD_RBCMAXIMIZE:
@@ -1576,7 +1576,7 @@ static void handleKeyPress(XEvent * event)
CloseWindowMenu(scr); CloseWindowMenu(scr);
handleMaximize(wwin, MAX_RIGHTHALF | MAX_BOTTOMHALF | MAX_KEYBOARD); handleMaximize(wwin, MAX_RIGHTHALF | MAX_BOTTOMHALF | MAX_KEYBOARD);
movePionterToWindowCenter(wwin); movePointerToWindowCenter(wwin);
} }
break; break;
case WKBD_MAXIMUS: case WKBD_MAXIMUS: