+2002-10-09 Jan D. <jan.h.d@swipnet.se>
+
+ * xterm.c (XTread_socket): Pass ReparentNotify to Xt.
+ The shell widget interprets ConfigureNotify differently depending
+ on if it has been reparented or not. This fixes the bug
+ that Motif-menus are misplaced under some windowmanagers
+ (CDE an WindowMaker at least).
+
2002-10-08 Kenichi Handa <handa@m17n.org>
* coding.c (code_convert_region): When we need more GAP for
x_real_positions (f, &x, &y);
f->output_data.x->left_pos = x;
f->output_data.x->top_pos = y;
+ goto OTHER;
}
break;
f->output_data.x->win_gravity = NorthWestGravity;
x_wm_set_size_hint (f, (long) 0, 0);
}
-#ifdef USE_MOTIF
- /* Some window managers pass (0,0) as the location of
- the window, and the Motif event handler stores it
- in the emacs widget, which messes up Motif menus. */
- if (event.xconfigure.x == 0 && event.xconfigure.y == 0)
- {
- event.xconfigure.x = f->output_data.x->widget->core.x;
- event.xconfigure.y = f->output_data.x->widget->core.y;
- }
-#endif /* USE_MOTIF */
}
goto OTHER;