mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
gnuplot-ggi: build without mouse support so we can leave plots via keypress
This commit is contained in:
30
gnuplot-ggi/patches/040-nomouse-fixes.patch
Normal file
30
gnuplot-ggi/patches/040-nomouse-fixes.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
Index: gnuplot-4.4.0/term/ggi.trm
|
||||
===================================================================
|
||||
--- gnuplot-4.4.0.orig/term/ggi.trm 2011-01-05 13:35:52.000000000 +0100
|
||||
+++ gnuplot-4.4.0/term/ggi.trm 2011-01-05 13:39:52.000000000 +0100
|
||||
@@ -499,6 +499,12 @@
|
||||
ggiSetGCForeground(GGIvisual,GGIcolors[linetype]);
|
||||
}
|
||||
|
||||
+TERM_PUBLIC int
|
||||
+GGI_y(int32_t y)
|
||||
+{
|
||||
+ return GGIymax - y;
|
||||
+}
|
||||
+
|
||||
TERM_PUBLIC void GGI_move(unsigned int x, unsigned int y)
|
||||
{
|
||||
GGIx=x;
|
||||
@@ -831,12 +837,6 @@
|
||||
}
|
||||
|
||||
TERM_PUBLIC int
|
||||
-GGI_y(int32_t y)
|
||||
-{
|
||||
- return GGIymax - y;
|
||||
-}
|
||||
-
|
||||
-TERM_PUBLIC int
|
||||
GGI_eventually_update_modifiers(const ggi_event* event, const int add)
|
||||
{
|
||||
int mod = 0;
|
||||
Reference in New Issue
Block a user