feat: printer UX improvements

This commit is contained in:
2026-04-01 22:47:27 +02:00
parent 550d4d2a19
commit 045f3ee0a5
12 changed files with 1138 additions and 269 deletions
+11
View File
@@ -284,6 +284,17 @@ namespace WinServer {
return -1;
}
if (slot.liveSurface != nullptr) {
Ipc::CopySurfacePreserve(newLive, newW, newH,
slot.liveSurface, slot.width, slot.height,
0xFFFFFFFFu);
}
if (slot.snapshotSurface != nullptr) {
Ipc::CopySurfacePreserve(newSnapshot, newW, newH,
slot.snapshotSurface, slot.width, slot.height,
0xFFFFFFFFu);
}
if (slot.liveSurface != nullptr) {
Ipc::UnmapSurfaceForPid(slot.liveSurface, callerPid, ownerPml4);
Ipc::ReleaseSurface(slot.liveSurface);