MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / readSetDesktopName

Method readSetDesktopName

java/com/tigervnc/rfb/CMsgReader.java:452–462  ·  view source on GitHub ↗
(int x, int y, int w, int h)

Source from the content-addressed store, hash-verified

450 }
451
452 protected void readSetDesktopName(int x, int y, int w, int h)
453 {
454 String name = is.readString();
455
456 if (x != 0 || y != 0 || w != 0 || h != 0) {
457 vlog.error("Ignoring DesktopName rect with non-zero position/size");
458 } else {
459 handler.setName(name);
460 }
461
462 }
463
464 protected void readExtendedDesktopSize(int x, int y, int w, int h)
465 {

Callers 1

readMsgMethod · 0.95

Calls 3

errorMethod · 0.80
readStringMethod · 0.45
setNameMethod · 0.45

Tested by

no test coverage detected