Re: [gtk-list] Re: X and idles => incredible slowdowns



Havoc Pennington wrote:

> Antonio Campos <acampos@extremadura.com> writes:
> >   gtk_widget_set_usize(GTK_WIDGET(data),(gint) size,(gint) size);
> >   gtk_widget_set_uposition(GTK_WIDGET(data),
> >       (gint) (400+100*cos(angle)),
> >       (gint) (300+100*sin(angle)));
> >
>
> With X, this is going to involve your app, your X server, and the
> window manager for every change in window position. That means three
> processes trying to load CPU 100%. Which is going to make things
> pretty slow and unresponsive.
>
> Just don't write broken applications! Problem solved.
>
> Havoc
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

Sorry, but this answer doesn't satisfy me. Windows does it right, why
shouldn't Linux?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]