From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- qball/patches/001-disable-mouse.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 qball/patches/001-disable-mouse.patch (limited to 'qball/patches/001-disable-mouse.patch') diff --git a/qball/patches/001-disable-mouse.patch b/qball/patches/001-disable-mouse.patch new file mode 100644 index 0000000..6a18d6e --- /dev/null +++ b/qball/patches/001-disable-mouse.patch @@ -0,0 +1,24 @@ +diff -ur qball-1.1.or/QBall/main.cpp qball-1.1/QBall/main.cpp +--- qball-1.1.or/QBall/main.cpp 2010-12-14 21:13:48.387821716 +0300 ++++ qball-1.1/QBall/main.cpp 2010-12-14 21:16:23.749898252 +0300 +@@ -1,6 +1,10 @@ + #include + #include "mainwindow.h" + ++#if defined(Q_WS_QWS) ++#include ++#endif ++ + int main(int argc, char *argv[]) + { + QApplication a(argc, argv); +@@ -14,6 +18,9 @@ + //w.show(); + w.showFullScreen(); + #endif ++#if defined(Q_WS_QWS) ++ QWSServer::setCursorVisible(false); ++#endif + //w.init(); + //Gamestate *gamestate = new PlayingGamestate(&w); + Gamestate *gamestate = new OptionsGamestate(&w); -- cgit v1.2.3