projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d314a8
)
VFO a and b mouse event coordinates tweaking
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Sat, 12 Feb 2022 12:31:39 +0000
(18:01 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Sat, 12 Feb 2022 12:31:39 +0000
(18:01 +0530)
vfo.c
patch
|
blob
|
history
diff --git
a/vfo.c
b/vfo.c
index 065535391bbd63cdfbd5f785fa4d5f2199160f80..b6fb3c66a1421006f3a5108ecf904a05cfe55a9a 100644
(file)
--- a/
vfo.c
+++ b/
vfo.c
@@
-1315,11
+1315,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 <=
5
0) {
+ if (event->x >= 260 && event->y <=
4
0) {
// vfo B
start_vfo(VFO_B);
return TRUE;
- } else if (event->x >= 260 && event->y >
5
0) {
+ } else if (event->x >= 260 && event->y >
4
0) {
// vfo A
start_vfo(VFO_A);
return TRUE;