зеркало из https://github.com/mozilla/pjs.git
Bug 118105 [Xlib] XPFE code does not treat Xlib toolkit like GTK+ toolkit
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=jag
This commit is contained in:
Родитель
b378a159dd
Коммит
ea621c9df1
|
@ -489,7 +489,7 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
|
|||
printf("nsWebShellWindow::NS_ACTIVATE\n");
|
||||
#endif
|
||||
// Sucky platform specific code to get around event dispatch ordering
|
||||
#if defined(WIN32) || defined(XP_OS2) || defined (MOZ_WIDGET_GTK)
|
||||
#if defined(WIN32) || defined(XP_OS2) || defined (MOZ_WIDGET_GTK) || defined (MOZ_WIDGET_XLIB)
|
||||
|
||||
nsCOMPtr<nsIDOMWindowInternal> domWindow;
|
||||
eventWindow->ConvertWebShellToDOMWindow(webShell, getter_AddRefs(domWindow));
|
||||
|
@ -513,7 +513,7 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
|
|||
if(privateDOMWindow)
|
||||
privateDOMWindow->Activate();
|
||||
}
|
||||
#endif
|
||||
#endif /* defined(WIN32) || defined(XP_OS2) || defined (MOZ_WIDGET_GTK) || defined (MOZ_WIDGET_XLIB) */
|
||||
break;
|
||||
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Roland Mainz <roland.mainz@informatik.med.uni-giessen.de>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
|
@ -1304,8 +1305,18 @@ static void DumpHelp(char *appname)
|
|||
printf("%s--gtk-no-debug=FLAGS%sGtk+ debugging flags to unset\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
printf("%s--gtk-module=MODULE%sLoad an additional Gtk module\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
|
||||
/* end gtk options */
|
||||
#endif
|
||||
/* end gtk toolkit options */
|
||||
#endif /* MOZ_WIDGET_GTK */
|
||||
#if MOZ_WIDGET_XLIB
|
||||
printf("Xlib options\n");
|
||||
printf("%s-display=DISPLAY%sX display to use\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
printf("%s-visual=VISUALID%sX visual to use\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
printf("%s-install_colormap%sInstall own colormap\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
printf("%s-sync%sMake X calls synchronous\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
printf("%s-no-xshm%sDon't use X shared memory extension\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
|
||||
/* end xlib toolkit options */
|
||||
#endif /* MOZ_WIDGET_XLIB */
|
||||
#ifdef MOZ_X11
|
||||
printf("X11 options\n");
|
||||
printf("%s--display=DISPLAY%sX display to use\n", HELP_SPACER_1, HELP_SPACER_2);
|
||||
|
|
Загрузка…
Ссылка в новой задаче