Skip to content

Commit

Permalink
* syntax prevented minification
Browse files Browse the repository at this point in the history
* comment out unused variables

git-svn-id: https://xpra.org/svn/Xpra/trunk@18984 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 3, 2018
1 parent 616c493 commit bfa21cd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ XpraClient.prototype._process_new_tray = function(packet, ctx) {
ctx._window_mouse_up,
ctx._window_mouse_scroll,
ctx._tray_set_focus,
ctx._tray_closed,
ctx._tray_closed
);
ctx.id_to_window[wid] = win;
ctx.send_tray_configure(wid);
Expand Down Expand Up @@ -1989,11 +1989,12 @@ XpraClient.prototype._process_bell = function(packet, ctx) {
*/
XpraClient.prototype._process_notify_show = function(packet, ctx) {
//TODO: add UI switch to disable notifications
var dbus_id = packet[1];
//unused:
//var dbus_id = packet[1];
//var app_name = packet[3];
//var app_icon = packet[5];
var nid = packet[2];
var app_name = packet[3];
var replaces_nid = packet[4];
var app_icon = packet[5];
var summary = packet[6];
var body = packet[7];
var expire_timeout = packet[8];
Expand Down Expand Up @@ -2621,8 +2622,8 @@ XpraClient.prototype._process_clipboard_request = function(packet, ctx) {
// since we use a synchronous clipboard,
// but older servers may still request it..
var request_id = packet[1],
selection = packet[2],
target = packet[3];
selection = packet[2];
//target = packet[3];

var packet;
var clipboard_buffer = ctx.get_clipboard_buffer();
Expand Down

0 comments on commit bfa21cd

Please sign in to comment.