OSDN Git Service

[EMU][Qt][MOUSE] Fix not effect with button-up.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Mon, 15 May 2017 23:34:41 +0000 (08:34 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Mon, 15 May 2017 23:34:41 +0000 (08:34 +0900)
source/src/qt/gui/emu_thread_tmpl.cpp

index 4fdc935..d743192 100644 (file)
@@ -150,6 +150,7 @@ void EmuThreadClassBase::button_pressed_mouse(Qt::MouseButton button)
 void EmuThreadClassBase::button_released_mouse(Qt::MouseButton button)
 {
        if(using_flags->is_use_mouse()) {
+               button_released_mouse_sub(button);
        } else {
                if(using_flags->get_max_button() > 0) {
                        button_desc_t *vm_buttons_d = using_flags->get_vm_buttons();