This possibly avoids badness when the timeout destroy notify is removed
from the frame release func.
- if (self->focused != self->flash_on)
- frame_adjust_focus(self, self->focused);
-
now.tv_usec >= self->flash_end.tv_usec))
self->flashing = FALSE;
now.tv_usec >= self->flash_end.tv_usec))
self->flashing = FALSE;
+ if (!self->flashing) {
+ if (self->focused != self->flash_on)
+ frame_adjust_focus(self, self->focused);
+
return FALSE; /* we are done */
return FALSE; /* we are done */
self->flash_on = !self->flash_on;
if (!self->focused) {
self->flash_on = !self->flash_on;
if (!self->focused) {