Re: [gtk-list] X and idles => incredible slowdowns
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Cc: "gtk-devel-list redhat com" <gtk-devel-list redhat com>
- Subject: Re: [gtk-list] X and idles => incredible slowdowns
- Date: 28 Apr 2000 20:32:04 -0400
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]