Fixing problem with an uninitialized member in a nsMouseEvent struct, this problem surfaced yesterday when the link handling was changed by pinkerton. The problem was that clicking on links on unix sometimes opened the link in a new window in stead of the current window. r=brade
git-svn-id: svn://10.0.0.236/trunk@71899 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8dfb8d2936
commit
6b1e8e4706
@ -2318,6 +2318,7 @@ nsWidget::InitMouseEvent(GdkEventButton * aGdkButtonEvent,
|
||||
anEvent.isShift = (aGdkButtonEvent->state & GDK_SHIFT_MASK) ? PR_TRUE : PR_FALSE;
|
||||
anEvent.isControl = (aGdkButtonEvent->state & GDK_CONTROL_MASK) ? PR_TRUE : PR_FALSE;
|
||||
anEvent.isAlt = (aGdkButtonEvent->state & GDK_MOD1_MASK) ? PR_TRUE : PR_FALSE;
|
||||
anEvent.isMeta = PR_FALSE; // GTK+ doesn't support the meta key
|
||||
anEvent.time = aGdkButtonEvent->time;
|
||||
|
||||
switch(aGdkButtonEvent->type)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user