зеркало из https://github.com/mozilla/gecko-dev.git
Turn off debugging spew. No bug.
This commit is contained in:
Родитель
e5438c1f12
Коммит
acdf008fe1
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
/* uncomment this if you want debugging information about widget
|
/* uncomment this if you want debugging information about widget
|
||||||
creation and destruction */
|
creation and destruction */
|
||||||
#define DEBUG_XTBIN
|
#undef DEBUG_XTBIN
|
||||||
|
|
||||||
#define XTBIN_MAX_EVENTS 30
|
#define XTBIN_MAX_EVENTS 30
|
||||||
|
|
||||||
|
@ -660,11 +660,15 @@ xt_client_handle_xembed_message(Widget w, XtPointer client_data, XEvent *event)
|
||||||
memset(&xevent, 0, sizeof(xevent));
|
memset(&xevent, 0, sizeof(xevent));
|
||||||
|
|
||||||
if(event->xclient.data.l[1] == XEMBED_FOCUS_IN) {
|
if(event->xclient.data.l[1] == XEMBED_FOCUS_IN) {
|
||||||
|
#ifdef DEBUG_XTBIN
|
||||||
printf("XTEMBED got focus in\n");
|
printf("XTEMBED got focus in\n");
|
||||||
|
#endif
|
||||||
xevent.xfocus.type = FocusIn;
|
xevent.xfocus.type = FocusIn;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
#ifdef DEBUG_XTBIN
|
||||||
printf("XTEMBED got focus out\n");
|
printf("XTEMBED got focus out\n");
|
||||||
|
#endif
|
||||||
xevent.xfocus.type = FocusOut;
|
xevent.xfocus.type = FocusOut;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче