diff --git a/kinyin/patches/001-ben.patch b/kinyin/patches/001-ben.patch new file mode 100644 index 0000000..dd87749 --- /dev/null +++ b/kinyin/patches/001-ben.patch @@ -0,0 +1,24 @@ +diff -ur kinyin-0.43.orig/qt4/main.cc kinyin-0.43/qt4/main.cc +--- kinyin-0.43.orig/qt4/main.cc 2011-02-22 21:21:02.430184590 +0300 ++++ kinyin-0.43/qt4/main.cc 2011-02-22 21:25:04.990765416 +0300 +@@ -19,13 +19,19 @@ + + #include "edwidget.h" + #include ++#ifdef Q_WS_QWS ++ #include ++#endif + + int main( int argc, char **argv ) + { + QApplication a( argc, argv ); + + EdWidget w; +-// w.setGeometry( 100, 100, 500, 355 ); ++ w.setGeometry( 0, 0, 320, 240 ); ++#ifdef Q_WS_QWS ++ QWSServer::setCursorVisible(false); ++#endif + // a.setMainWidget( &w ); + w.show(); + return a.exec();