Lines Matching refs:new
326 Widget new,
335 if (old->core.tm.translations != new->core.tm.translations) {
336 XtTranslations save = new->core.tm.translations;
338 new->core.tm.translations = old->core.tm.translations;
339 _XtMergeTranslations(new, save, XtTableReplace);
346 if (old->core.background_pixel != new->core.background_pixel
347 && new->core.background_pixmap == XtUnspecifiedPixmap) {
348 attributes.background_pixel = new->core.background_pixel;
352 if (old->core.background_pixmap != new->core.background_pixmap) {
353 if (new->core.background_pixmap == XtUnspecifiedPixmap) {
355 attributes.background_pixel = new->core.background_pixel;
358 attributes.background_pixmap = new->core.background_pixmap;
364 if (old->core.border_pixel != new->core.border_pixel
365 && new->core.border_pixmap == XtUnspecifiedPixmap) {
366 attributes.border_pixel = new->core.border_pixel;
369 if (old->core.border_pixmap != new->core.border_pixmap) {
370 if (new->core.border_pixmap == XtUnspecifiedPixmap) {
372 attributes.border_pixel = new->core.border_pixel;
375 attributes.border_pixmap = new->core.border_pixmap;
380 if (old->core.depth != new->core.depth) {
384 new->core.depth = old->core.depth;
386 if (old->core.colormap != new->core.colormap) {
388 attributes.colormap = new->core.colormap;
392 XChangeWindowAttributes(XtDisplay(new), XtWindow(new), window_mask,
396 if (old->core.mapped_when_managed != new->core.mapped_when_managed) {
397 Boolean mapped_when_managed = new->core.mapped_when_managed;
399 new->core.mapped_when_managed = !mapped_when_managed;
400 XtSetMappedWhenManaged(new, mapped_when_managed);
409 Widget new _X_UNUSED,