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




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



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