Skip to content

Commit

Permalink
add empty "desktop_size" handler to avoid warnings
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14280 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 25, 2016
1 parent f61ae1a commit 03785d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ function XpraClient(container) {
'window-resized': this._process_window_resized,
'window-move-resize': this._process_window_move_resize,
'configure-override-redirect': this._process_configure_override_redirect,
'desktop_size': this._process_desktop_size,
'draw': this._process_draw,
'cursor': this._process_cursor,
'bell': this._process_bell,
Expand Down Expand Up @@ -1107,6 +1108,12 @@ XpraClient.prototype._process_configure_override_redirect = function(packet, ctx
}
}

XpraClient.prototype._process_desktop_size = function(packet, ctx) {
//root_w, root_h, max_w, max_h = packet[1:5]
//we don't use this yet,
//we could use this to clamp the windows to a certain area
}

XpraClient.prototype._process_bell = function(packet, ctx) {
var percent = packet[3];
var pitch = packet[4];
Expand Down

0 comments on commit 03785d9

Please sign in to comment.