mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
firefox fix
This commit is contained in:
parent
fc762d8f09
commit
4b5eed144f
@ -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__
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user