Comment 2 for bug 2027890

Revision history for this message
Ahmad Raniri (lidgl4991) wrote :

Hello, I think I found the solution. I just need to edit "sway/ipc-json.c" and add these line

```
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wswitch"
```

before this line :

```
                switch (libinput_device_config_accel_get_profile(device)) {
```

and sway is able to be built. Thanks.