diff --git a/direct/src/plugin/p3dInstance.cxx b/direct/src/plugin/p3dInstance.cxx index 45a0d713a8..8f340b62e1 100644 --- a/direct/src/plugin/p3dInstance.cxx +++ b/direct/src/plugin/p3dInstance.cxx @@ -103,6 +103,8 @@ P3DInstance(P3D_request_ready_func *func, _shared_mmap_size = 0; _swbuffer = NULL; _reversed_buffer = NULL; + // We have to start with _mouse_active true; firefox doesn't send + // activate events. _mouse_active = true; _frame_timer = NULL; #endif // __APPLE__ diff --git a/direct/src/plugin/p3dOsxSplashWindow.cxx b/direct/src/plugin/p3dOsxSplashWindow.cxx index 67ad220b94..130e6c9f60 100644 --- a/direct/src/plugin/p3dOsxSplashWindow.cxx +++ b/direct/src/plugin/p3dOsxSplashWindow.cxx @@ -29,7 +29,9 @@ P3DOsxSplashWindow(P3DInstance *inst) : { _install_progress = 0; _got_wparams = false; - _mouse_active = false; + // We have to start with _mouse_active true; firefox doesn't send + // activate events. + _mouse_active = true; _toplevel_window = NULL; } @@ -183,7 +185,7 @@ handle_event(P3D_event_data event) { if (port_changed) { QDSwapPort(port_save, NULL); } - + switch (er->what) { case updateEvt: paint_window();