Skip to content

Commit

Permalink
#1844 also poll the clipboard when we get a right click
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@24412 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 8, 2019
1 parent 3291668 commit 0334e9c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/html5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,6 @@ <h2>Xpra Bug Report</h2>
var float_menu_padding = 20;
var float_menu_width = (float_menu_item_size*4) + float_menu_padding;

// disable right click menu:
window.oncontextmenu = function(e) {
//showCustomMenu();
return false;
}

var cdebug = function () {
Utilities.clog.apply(Utilities, arguments);
}
Expand Down Expand Up @@ -1042,6 +1036,11 @@ <h2>Xpra Bug Report</h2>
$('#fullscreen_button').attr('data-icon', 'fullscreen');
}
});
// disable right click menu:
window.oncontextmenu = function(e) {
client._poll_clipboard(e);
return false;
}
}

$(document).ready(function() {
Expand Down

0 comments on commit 0334e9c

Please sign in to comment.