feat: printer UX improvements
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user