Search Results

Found 1 results for "dc9347c8c4909dbb58b521a305d747cb" across all boards searching md5.

Anonymous /g/105766572#105769696
7/1/2025, 10:11:01 PM
>>105769327
starting to realize why my colleagues hate me

>>105769319
Found myself an answer in SDL, as always they already have it implemented.
Common Wayland usage error is assuming first enumerated monitor is the primary one (as I already suspected >>105769080) and you need to either use DBus (which understandably nobody wants to deal with) or do some fallback logic like picking the largest monitor or best refresh rate.
Windows have flag for primary monitor in MONITORINFO struct https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-monitorinfo
X11 doesn't have anything primary info, so I guess it just consistently announces primary monitor first and SDL picks first from list.