Browse Source

explicitly ignore T_resume_down

David Rose 23 years ago
parent
commit
40cf785318
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/tform/mouseWatcher.cxx

+ 4 - 0
panda/src/tform/mouseWatcher.cxx

@@ -909,6 +909,10 @@ do_transmit_data(const DataNodeTransmit &input, DataNodeTransmit &output) {
       case ButtonEvent::T_keystroke:
         keystroke(be._keycode);
         break;
+
+      case ButtonEvent::T_resume_down:
+        // Ignore this, since the button wasn't pressed just now.
+        break;
       }
     }
   }