* Make the feedback window visible (map it)
*/
- if (pSD->feedbackWin)
+ if (pSD && pSD->feedbackWin)
{
/* Make sure the feedback window doesn't get buried */
XRaiseWindow(DISPLAY, pSD->feedbackWin);
/*
* draw beveling
*/
- if (pSD->fbTop->used > 0)
+ if (pSD->fbTop && pSD->fbTop->used > 0)
{
XFillRectangles (DISPLAY, pSD->feedbackWin,
pSD->feedbackAppearance.inactiveTopShadowGC,
pSD->fbTop->prect, pSD->fbTop->used);
}
- if (pSD->fbBottom->used > 0)
+ if (pSD->fbBottom && pSD->fbBottom->used > 0)
{
XFillRectangles (DISPLAY, pSD->feedbackWin,
pSD->feedbackAppearance.inactiveBottomShadowGC,