[gtk+/broadway: 68/71] [broadway] Disable context menu so rmb works
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/broadway: 68/71] [broadway] Disable context menu so rmb works
- Date: Thu, 25 Nov 2010 21:20:58 +0000 (UTC)
commit d6029949e6dcb63917ddec982ff4c7364d9bba61
Author: Alexander Larsson <alexl redhat com>
Date: Thu Nov 25 20:39:17 2010 +0100
[broadway] Disable context menu so rmb works
gdk/broadway/broadway.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js
index a9568fb..a2fd483 100644
--- a/gdk/broadway/broadway.js
+++ b/gdk/broadway/broadway.js
@@ -321,6 +321,7 @@ function connect()
} else {
alert("WebSocket not supported, input will not work!");
}
+ document.oncontextmenu = function () { return false; }
document.onmousemove = on_mouse_move;
document.onmousedown = on_mouse_down;
document.onmouseup = on_mouse_up;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]