From f09d216d4f3c81682b0523a45d1b043904ff10a7 Mon Sep 17 00:00:00 2001 From: totaam Date: Sat, 26 Aug 2023 18:13:42 +0700 Subject: [PATCH] #262 newer servers don't need these flags --- html5/js/Client.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/html5/js/Client.js b/html5/js/Client.js index afb8af9d..ada9ff81 100644 --- a/html5/js/Client.js +++ b/html5/js/Client.js @@ -1462,11 +1462,6 @@ class XpraClient { vrefresh: this.vrefresh, "file-chunks": FILE_CHUNKS_SIZE, }); - if (SHOW_START_MENU) { - this._update_capabilities({ - "xdg-menu-update": true, - }); - } if (this.bandwidth_limit > 0) { this._update_capabilities({ "bandwidth-limit": this.bandwidth_limit, @@ -1555,11 +1550,6 @@ class XpraClient { this._update_capabilities({ auto_refresh_delay: 500, - randr_notify: true, - "sound.server_driven": true, - "server-window-resize": true, - "screen-resize-bigger": false, - "window.initiate-moveresize": true, "metadata.supported": [ "fullscreen", "maximized", @@ -1585,7 +1575,6 @@ class XpraClient { "encodings.rgb_formats": this.RGB_FORMATS, "encodings.window-icon": ["png"], "encodings.cursor": ["png"], - "encoding.flush": true, "encoding.transparency": true, "encoding.decoder-speed": { video: 0 }, "encodings.packet": true, @@ -1597,7 +1586,6 @@ class XpraClient { "encoding.color-gamut": Utilities.getColorGamut(), "encoding.video_scaling": true, "encoding.video_max_size": video_max_size, - "encoding.eos": true, "encoding.full_csc_modes": { mpeg1: ["YUV420P"], h264: ["YUV420P"], @@ -1636,7 +1624,6 @@ class XpraClient { "sound.receive": true, "sound.send": false, "sound.decoders": Object.keys(this.audio_codecs), - "sound.bundle-metadata": true, // encoding stuff windows: true, "window.pre-map": true, @@ -1671,7 +1658,6 @@ class XpraClient { "file-transfer": this.file_transfer, printing: this.printing, "file-size-limit": 4 * 1024, - flush: true, }); }