Closed
Bug 51830
Opened 25 years ago
Closed 25 years ago
Browser windows don't refresh while a Nav Services dialog is up
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sfraser_bugs, Assigned: mikepinkerton)
Details
(Keywords: polish)
If a nav services dialog is up, adn you drag it around, the browser window
doesn't refresh behind it. Need need to send some events along...
Reporter | ||
Comment 1•25 years ago
|
||
Here's a fix (sorry, not a diff, since I have other changes in the file)
> #include "nsMacWindow.h"
> #include "nsMacMessageSink.h"
...
static pascal void FileDialogEventHandlerProc( NavEventCallbackMessage msg,
NavCBRecPtr cbRec, NavCallBackUserData data )
{
switch ( msg ) {
case kNavCBEvent:
switch ( cbRec->eventData.eventDataParms.event->what ) {
case updateEvt:
WindowPtr window = reinterpret_cast<WindowPtr>(cbRec->
eventData.eventDataParms.event->message);
nsMacWindow* macWindow =
nsMacMessageSink::GetNSWindowFromMacWindow(window);
::BeginUpdate(window);
if (macWindow)
{
EventRecord theEvent = *cbRec->eventData.eventDataParms.event;
macWindow->HandleOSEvent(theEvent);
}
::EndUpdate(window);
break;
}
break;
}
}
...
Reporter | ||
Comment 2•25 years ago
|
||
I'll check that in if someone gives me an r=
Assignee | ||
Comment 3•25 years ago
|
||
r=pinkerton
Assignee | ||
Comment 4•25 years ago
|
||
fix landed. thanks simon.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•