linux_window_manager: query default refresh rate via xrandr, rather than assuming 60 (oops!)

This commit is contained in:
Ryan Fleury committed 2026-10-01 10:47:46 -07:00
1 parent a256e5c48a
commit 56073cfff0
5 files changed
+40 -8

No files matched your search

+3 -2
View File
@@ -247,6 +247,7 @@ on the system:
- `libx11`
- `libxext`
- `libxfixes`
- `libxrandr`
- `libgl`
- `libegl`
@@ -256,13 +257,13 @@ installed using one of the following commands, depending on your distribution:
#### Ubuntu / Debian / Mint
```
sudo apt install -y libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libgl-dev libegl-dev
sudo apt install -y libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxrandr-dev libgl-dev libegl-dev
```
#### Arch / Manjaro
```
sudo pacman -S --needed freetype2 libx11 libxext libxfixes libglvnd
sudo pacman -S --needed freetype2 libx11 libxext libxfixes libxrandr libglvnd
```
### 3. Building