projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3879401
)
tweaking of coordinates for vfo a/b click
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Sat, 12 Feb 2022 06:18:05 +0000
(11:48 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Sat, 12 Feb 2022 06:18:05 +0000
(11:48 +0530)
vfo.c
patch
|
blob
|
history
diff --git
a/vfo.c
b/vfo.c
index dc8505d14247a6c6ac24ac9ca2396a4810f76667..eda0a46d5f63bd5605eeddde31e98fa89fdac574 100644
(file)
--- a/
vfo.c
+++ b/
vfo.c
@@
-1304,11
+1304,11
@@
vfo_press_event_cb (GtkWidget *widget,
{
// vfo a and b are drawn at x = 280, so it is the y coordinate
// that matters.
- if (event->x >
260 && event->y < 8
0) {
+ if (event->x >
= 260 && event->y <= 5
0) {
// vfo B
start_vfo(VFO_B);
return TRUE;
- } else if (event->x >
260 && event->y > 8
0) {
+ } else if (event->x >
= 260 && event->y > 5
0) {
// vfo A
start_vfo(VFO_A);
return TRUE;