[education/rkward] rkward/rbackend/rkwarddevice: Fix lockup in tiling patterns.
Thomas Friedrichsmeier
null at kde.org
Wed Mar 23 16:59:39 GMT 2022
Git commit 77e5e4ffc1efcb58e86c5fe459f07ef3874646b5 by Thomas Friedrichsmeier.
Committed on 23/03/2022 at 16:59.
Pushed by tfry into branch 'master'.
Fix lockup in tiling patterns.
M +2 -2 rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
https://invent.kde.org/education/rkward/commit/77e5e4ffc1efcb58e86c5fe459f07ef3874646b5
diff --git a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
index fa20803f..39d0ed3f 100644
--- a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
+++ b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
@@ -333,7 +333,7 @@ void RKGraphicsDeviceFrontendTransmitter::newData () {
device->clear(readBrush(streamer.instream, device));
} else if (opcode == RKDClose) {
RKGraphicsDevice::closeDevice(devnum);
- sendDummyReply(devnum);
+ sendDummyReply(opcode);
} else if (opcode == RKDActivate) {
device->setActive (true);
} else if (opcode == RKDDeActivate) {
@@ -444,7 +444,7 @@ void RKGraphicsDeviceFrontendTransmitter::newData () {
device->confirmNewPage ();
} else if (opcode == RKDForceSync) {
device->forceSync();
- sendDummyReply(devnum);
+ sendDummyReply(opcode);
} else {
RK_DEBUG (GRAPHICS_DEVICE, DL_ERROR, "Unhandled operation of type %d for device number %d. Skipping.", opcode, devnum+1);
}
More information about the rkward-tracker
mailing list