]> Pileus Git - ~andy/gtk/commitdiff
[broadway] Disable context menu so rmb works
authorAlexander Larsson <alexl@redhat.com>
Thu, 25 Nov 2010 19:39:17 +0000 (20:39 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 25 Nov 2010 21:09:33 +0000 (22:09 +0100)
gdk/broadway/broadway.js

index a9568fb675a71c24468ae01c56cf81ac924c8255..a2fd4837f7081feb5c9332369bbe362007169b9e 100644 (file)
@@ -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;