()
| 2823 | } |
| 2824 | |
| 2825 | _handleRect() { |
| 2826 | switch (this._FBU.encoding) { |
| 2827 | case encodings.pseudoEncodingLastRect: |
| 2828 | this._FBU.rects = 1; // Will be decreased when we return |
| 2829 | return true; |
| 2830 | |
| 2831 | case encodings.pseudoEncodingVMwareCursor: |
| 2832 | return this._handleVMwareCursor(); |
| 2833 | |
| 2834 | case encodings.pseudoEncodingCursor: |
| 2835 | return this._handleCursor(); |
| 2836 | |
| 2837 | case encodings.pseudoEncodingQEMUExtendedKeyEvent: |
| 2838 | this._qemuExtKeyEventSupported = true; |
| 2839 | return true; |
| 2840 | |
| 2841 | case encodings.pseudoEncodingDesktopName: |
| 2842 | return this._handleDesktopName(); |
| 2843 | |
| 2844 | case encodings.pseudoEncodingDesktopSize: |
| 2845 | this._resize(this._FBU.width, this._FBU.height); |
| 2846 | return true; |
| 2847 | |
| 2848 | case encodings.pseudoEncodingExtendedDesktopSize: |
| 2849 | return this._handleExtendedDesktopSize(); |
| 2850 | |
| 2851 | case encodings.pseudoEncodingExtendedMouseButtons: |
| 2852 | this._extendedPointerEventSupported = true; |
| 2853 | return true; |
| 2854 | |
| 2855 | case encodings.pseudoEncodingQEMULedEvent: |
| 2856 | return this._handleLedEvent(); |
| 2857 | |
| 2858 | default: |
| 2859 | return this._handleDataRect(); |
| 2860 | } |
| 2861 | } |
| 2862 | |
| 2863 | _handleVMwareCursor() { |
| 2864 | const hotx = this._FBU.x; // hotspot-x |
no test coverage detected