Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d8dc5b3f authored by Dominik Laskowski's avatar Dominik Laskowski
Browse files

screencap: Fix parsing of display IDs

The underlying type of DisplayId is uint64_t, but screencap parsed the
IDs as signed 64-bit, invoking undefined behavior for out-of-range IDs.
In practice, out-of-range IDs were clamped, so SF failed to find them.

Fixes: 302580952
Test: screencap works for virtual display on Felix
Change-Id: I09a863d0c68dbb857b6f756b51159e5e3d853f5d
parent fa76ad2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment