docs: Add a note about button 4 & 5

This commit is contained in:
Matthias Clasen 2015-05-02 11:55:00 -04:00
parent 2feaf8f970
commit 71bd0b05ad

View File

@ -207,6 +207,10 @@ typedef enum
* reserved values such as %GDK_MODIFIER_RESERVED_13_MASK. Your code
* should preserve and ignore them. You can use %GDK_MODIFIER_MASK to
* remove all reserved values.
*
* Also note that the GDK X backend interprets button press events for button
* 4-7 as scroll events, so %GDK_BUTTON4_MASK and %GDK_BUTTON5_MASK will never
* be set.
*/
typedef enum
{