mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 11:02:35 +01:00
Fix typo
Renamed isPointNearBoder() function
This commit is contained in:
committed by
Carlos R. Mafra
parent
e82d86813e
commit
984a992d0e
@@ -1519,7 +1519,7 @@ static void scrollMenuCallback(void *data)
|
|||||||
|
|
||||||
#define MENU_SCROLL_BORDER 5
|
#define MENU_SCROLL_BORDER 5
|
||||||
|
|
||||||
static int isPointNearBoder(WMenu * menu, int x, int y)
|
static int isPointNearBorder(WMenu * menu, int x, int y)
|
||||||
{
|
{
|
||||||
int menuX1 = menu->frame_x;
|
int menuX1 = menu->frame_x;
|
||||||
int menuY1 = menu->frame_y;
|
int menuY1 = menu->frame_y;
|
||||||
@@ -1598,7 +1598,7 @@ void wMenuScroll(WMenu *menu)
|
|||||||
|
|
||||||
/* on_border is != 0 if the pointer is between the menu
|
/* on_border is != 0 if the pointer is between the menu
|
||||||
* and the screen border and is close enough to the border */
|
* and the screen border and is close enough to the border */
|
||||||
on_border = isPointNearBoder(menu, x, y);
|
on_border = isPointNearBorder(menu, x, y);
|
||||||
|
|
||||||
smenu = wMenuUnderPointer(scr);
|
smenu = wMenuUnderPointer(scr);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user