From ad2188e4a110fdb245e84383bd303c984c7c8f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Mon, 23 Dec 2024 18:34:34 +0100 Subject: [PATCH] Mention libxi-dev as dependency --- migration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/migration.md b/migration.md index f08af8c98..464cc779a 100644 --- a/migration.md +++ b/migration.md @@ -60,6 +60,11 @@ find_package(SFML 3 REQUIRED COMPONENTS Graphics Audio Network) target_link_libraries(my_app PRIVATE SFML::Graphics SFML::Audio SFML::Network) ``` +## Linux Dependencies + +When using X11 as the backend on Linux, as opposed to DRM, `libxi-dev` is a newly required dependency. +This was introduces with the [raw mouse input support](https://www.sfml-dev.org/documentation/3.0.0/structsf_1_1Event_1_1MouseMovedRaw.html). + ## `sf::Vector2` Parameters A common pattern in SFML 2 was to use pairs of scalar parameters to represent concepts like sizes or positions.