Code cleanup: use const for mouse location arg
This commit is contained in:
@@ -118,7 +118,7 @@ void WM_cursor_modal_set(struct wmWindow *win, int curs);
|
||||
void WM_cursor_modal_restore(struct wmWindow *win);
|
||||
void WM_cursor_wait (bool val);
|
||||
void WM_cursor_grab_enable(struct wmWindow *win, bool wrap, bool hide, int bounds[4]);
|
||||
void WM_cursor_grab_disable(struct wmWindow *win, int mouse_ungrab_xy[2]);
|
||||
void WM_cursor_grab_disable(struct wmWindow *win, const int mouse_ungrab_xy[2]);
|
||||
void WM_cursor_time (struct wmWindow *win, int nr);
|
||||
|
||||
void *WM_paint_cursor_activate(struct wmWindowManager *wm,
|
||||
|
||||
@@ -230,7 +230,7 @@ void WM_cursor_grab_enable(wmWindow *win, bool wrap, bool hide, int bounds[4])
|
||||
}
|
||||
}
|
||||
|
||||
void WM_cursor_grab_disable(wmWindow *win, int mouse_ungrab_xy[2])
|
||||
void WM_cursor_grab_disable(wmWindow *win, const int mouse_ungrab_xy[2])
|
||||
{
|
||||
if ((G.debug & G_DEBUG) == 0) {
|
||||
if (win && win->ghostwin) {
|
||||
|
||||
Reference in New Issue
Block a user