File tree Expand file tree Collapse file tree
webapp/src/client/app/modules/web-client/vnc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -403,7 +403,13 @@ export class WebClientVncComponent extends WebClientBaseComponent implements OnI
403403 . withDestination ( connectionParameters . host )
404404 . withProxyAddress ( connectionParameters . gatewayAddress )
405405 . withAuthToken ( connectionParameters . token )
406- . withExtension ( enableExtendedClipboard ( connectionParameters . enableExtendedClipboard ) ) ;
406+ . withExtension ( enableCursor ( connectionParameters . enableCursor ) )
407+ . withExtension (
408+ ultraVirtualDisplay ( connectionParameters . ultraVirtualDisplay ) ,
409+ )
410+ . withExtension (
411+ enableExtendedClipboard ( connectionParameters . enableExtendedClipboard ) ,
412+ ) ;
407413
408414 if ( connectionParameters . username != null ) {
409415 configBuilder . withUsername ( connectionParameters . username ) ;
@@ -413,14 +419,6 @@ export class WebClientVncComponent extends WebClientBaseComponent implements OnI
413419 configBuilder . withDesktopSize ( connectionParameters . screenSize ) ;
414420 }
415421
416- if ( connectionParameters . enableCursor ) {
417- configBuilder . withExtension ( enableCursor ( true ) ) ;
418- }
419-
420- if ( connectionParameters . ultraVirtualDisplay ) {
421- configBuilder . withExtension ( ultraVirtualDisplay ( true ) ) ;
422- }
423-
424422 if ( connectionParameters . enabledEncodings !== '' ) {
425423 configBuilder . withExtension ( enabledEncodings ( connectionParameters . enabledEncodings ) ) ;
426424 } else {
You can’t perform that action at this time.
0 commit comments