mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Enclose macro replacement list in parentheses
This commit is contained in:
parent
01b0c11394
commit
4332cba5a4
2 changed files with 8 additions and 8 deletions
|
|
@ -10,10 +10,10 @@
|
|||
|
||||
#define SWAY_CURSOR_PRESSED_BUTTONS_CAP 32
|
||||
|
||||
#define SWAY_SCROLL_UP KEY_MAX + 1
|
||||
#define SWAY_SCROLL_DOWN KEY_MAX + 2
|
||||
#define SWAY_SCROLL_LEFT KEY_MAX + 3
|
||||
#define SWAY_SCROLL_RIGHT KEY_MAX + 4
|
||||
#define SWAY_SCROLL_UP (KEY_MAX + 1)
|
||||
#define SWAY_SCROLL_DOWN (KEY_MAX + 2)
|
||||
#define SWAY_SCROLL_LEFT (KEY_MAX + 3)
|
||||
#define SWAY_SCROLL_RIGHT (KEY_MAX + 4)
|
||||
|
||||
struct sway_cursor {
|
||||
struct sway_seat *seat;
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
#include <stdbool.h>
|
||||
#include "list.h"
|
||||
|
||||
#define SWAY_SCROLL_UP KEY_MAX + 1
|
||||
#define SWAY_SCROLL_DOWN KEY_MAX + 2
|
||||
#define SWAY_SCROLL_LEFT KEY_MAX + 3
|
||||
#define SWAY_SCROLL_RIGHT KEY_MAX + 4
|
||||
#define SWAY_SCROLL_UP (KEY_MAX + 1)
|
||||
#define SWAY_SCROLL_DOWN (KEY_MAX + 2)
|
||||
#define SWAY_SCROLL_LEFT (KEY_MAX + 3)
|
||||
#define SWAY_SCROLL_RIGHT (KEY_MAX + 4)
|
||||
|
||||
#define SWAY_CONTINUOUS_SCROLL_TIMEOUT 1000
|
||||
#define SWAY_CONTINUOUS_SCROLL_THRESHOLD 10000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue