Lines Matching defs:newlw
242 LEDWidget newlw = (LEDWidget) new;
246 if (curlw->led.foreground != newlw->led.foreground
247 || curlw->core.background_pixel != newlw->core.background_pixel
248 || curlw->led.on_color != newlw->led.on_color
249 || curlw->led.off_color != newlw->led.off_color
250 || curlw->core.width != newlw->core.width
251 || curlw->core.height != newlw->core.height) {
252 GetPixmaps(newlw);
255 if (curlw->led.on != newlw->led.on) {
258 if (newlw->led.on)
259 pix = newlw->led.on_pixmap;
261 pix = newlw->led.off_pixmap;
263 if (XtWindow(newlw) != None)
264 XSetWindowBackgroundPixmap(XtDisplay(newlw), XtWindow(newlw), pix);