Make sure to set a cursor for our popup windows, since GTK doesn't do this automatically for us (and we don't want it to always inherit the root window cursor). Bug 133387, r=pavlov, sr=blizzard.

git-svn-id: svn://10.0.0.236/trunk@120470 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2002-05-01 22:41:45 +00:00
parent 39cdfbee28
commit 26b8ec03bc

View File

@@ -1899,6 +1899,15 @@ NS_METHOD nsWindow::CreateNative(GtkObject *parentWidget)
// set the back pixmap to None so that we don't get a flash of
// black
gdk_window_set_back_pixmap(mShell->window, NULL, FALSE);
// gdk does not automatically set the cursor for "temporary"
// windows, which are what gtk uses for popups.
mCursor = eCursor_wait; // force SetCursor to actually set the cursor,
// even though our internal state indicates
// that we already have the standard cursor.
SetCursor(eCursor_standard);
break;
case eWindowType_toplevel: