X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_mouse.h;h=b48853570a09ad1d77cc95cda0c5b04b5028ee80;hb=c0c2f1c3c88d4fcd164a6f2b5fa6ff22b47cce77;hp=e671a7441cd41f541bf93dadbdee615a04889a8d;hpb=87626923e323619696e1add713adca746c25b115;p=vlc diff --git a/include/vlc_mouse.h b/include/vlc_mouse.h index e671a7441c..b48853570a 100644 --- a/include/vlc_mouse.h +++ b/include/vlc_mouse.h @@ -6,19 +6,19 @@ * * Authors: Laurent Aimar * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifndef _VLC_MOUSE_H @@ -117,7 +117,7 @@ static inline void vlc_mouse_GetMotion( int *pi_x, int *pi_y, static inline bool vlc_mouse_HasChanged( const vlc_mouse_t *p_old, const vlc_mouse_t *p_new ) { - return p_old->i_x != p_new->i_x || p_old->i_x != p_new->i_x || + return p_old->i_x != p_new->i_x || p_old->i_y != p_new->i_y || p_old->i_pressed != p_new->i_pressed; } static inline bool vlc_mouse_HasMoved( const vlc_mouse_t *p_old,