comparison src/frame-x.c @ 5239:f19e6bc25969

Backed out changeset 6466bc9ebf15 This would leave all but the first frame blank.
author Mike Sperber <sperber@deinprogramm.de>
date Tue, 13 Jul 2010 10:19:33 +0200
parents 6466bc9ebf15
children 308d34e9f07d
comparison
equal deleted inserted replaced
5237:6466bc9ebf15 5239:f19e6bc25969
2611 #endif /* HAVE_WMCOMMAND */ 2611 #endif /* HAVE_WMCOMMAND */
2612 2612
2613 #ifdef HAVE_CDE 2613 #ifdef HAVE_CDE
2614 DtDndDropUnregister (FRAME_X_TEXT_WIDGET (f)); 2614 DtDndDropUnregister (FRAME_X_TEXT_WIDGET (f));
2615 #endif /* HAVE_CDE */ 2615 #endif /* HAVE_CDE */
2616
2617 #ifdef HAVE_XFT
2618 /* If we have an XftDraw structure, we need to free it here.
2619 We can't ever have an XftDraw without a Display, so we are safe
2620 to free it in here, and we avoid too much playing around with the
2621 malloc checking hooks this way. */
2622 if (FRAME_X_XFTDRAW (f))
2623 {
2624 XftDrawDestroy (FRAME_X_XFTDRAW (f));
2625 FRAME_X_XFTDRAW (f) = NULL;
2626 }
2627 #endif
2628
2616 2629
2617 assert (FRAME_X_SHELL_WIDGET (f) != 0); 2630 assert (FRAME_X_SHELL_WIDGET (f) != 0);
2618 dpy = XtDisplay (FRAME_X_SHELL_WIDGET (f)); 2631 dpy = XtDisplay (FRAME_X_SHELL_WIDGET (f));
2619 2632
2620 #ifdef EXTERNAL_WIDGET 2633 #ifdef EXTERNAL_WIDGET