Luflosi a1d24028b8
Fix Clang warning
Without this, kitty fails to compile:
```
glfw/cocoa_init.m:462:14: error: case value not in enumerated type
      'NSEventModifierFlags' (aka 'enum NSEventModifierFlags')
      [-Werror,-Wswitch]
        case (NSEventModifierFlagShift | NSEventModifierFlagOption):
             ^
glfw/cocoa_init.m:465:14: error: case value not in enumerated type
      'NSEventModifierFlags' (aka 'enum NSEventModifierFlags')
      [-Werror,-Wswitch]
        case (NSEventModifierFlagShift | NSEventModifierFlagCommand):
             ^
```
I thought about changing the type of the `modifierFlags` function parameter from `NSEventModifierFlags` to `NSUInteger` since `NSEventModifierFlags` is defined as an enum according to https://developer.apple.com/documentation/appkit/nseventmodifierflags?language=objc and is technically not the proper type for a bit field. But since Apple themselves define `modifierFlags` as `NSEventModifierFlags` according to https://developer.apple.com/documentation/appkit/nsevent/1534405-modifierflags?language=objc, I think the fix in this commit is better.
This warning was introduced with commit f9944e614088c4977ad9c9f1d1b44d97643e8d5b.
2021-10-30 16:25:20 +02:00
..
2021-08-03 09:11:17 +05:30
2021-03-25 16:05:14 +05:30
2021-10-30 16:25:20 +02:00
2021-08-01 12:53:35 +05:30
2021-08-01 12:53:35 +05:30
2021-08-03 09:11:17 +05:30
2021-05-10 07:16:43 +05:30
2021-10-27 11:13:28 +05:30
2021-10-25 17:15:46 +05:30
2020-06-09 20:18:07 +05:30
2021-09-26 11:17:54 +05:30
2021-04-11 07:58:27 +05:30
2020-07-23 23:56:32 +02:00
2019-12-08 22:37:47 +05:30
2019-08-30 15:32:20 +02:00
2021-08-03 09:11:17 +05:30
2021-08-03 09:11:17 +05:30
2021-08-03 09:11:17 +05:30
2020-06-23 16:35:13 +02:00
2021-08-03 09:11:17 +05:30
...
2021-01-17 07:24:12 +05:30