firefox fix

This commit is contained in:
David Rose 2009-09-10 01:02:04 +00:00
parent fc762d8f09
commit 4b5eed144f
2 changed files with 6 additions and 2 deletions

View File

@ -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__

View File

@ -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();