Skip to Content.
Sympa Menu

texmacs-users - Re: Speed Problems with Xfree

Subject: mailing-list for TeXmacs Users

List archive

Re: Speed Problems with Xfree


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: Stéphane Payrard <address@hidden>
  • Cc: <address@hidden>
  • Subject: Re: Speed Problems with Xfree
  • Date: Fri, 12 Sep 2003 12:03:45 +0200 (CEST)


On Thu, 11 Sep 2003, Stéphane Payrard wrote:
> Le Thu, Sep 11, 2003 at 07:48:39PM +0200, le valeureux mongueur Joris van
> der Hoeven a dit:
> I don't have currently a fast access to the net so I send a patch
> for the version I have on my disk. This pach works
> for me. That was probably part of some patches long lost patches
> I had for X11.
> But I got discouraged by your reluctance to accept
> patches... I don't have the patience of David.

1) You never sent me this patch before.
2) Most patches get integrated in the immediate next version.
I do not understand about what kind of "reluctance" you are talking,
but this kind of "discussion" is not for here.

> Anyway, on Linux XFree /etc/X11/XF86Config may need the line
> Option "BackingStore"
> in the Device Section.
> ...Or /etc/X11/XF86Config-4 because X search there first.
> X must be restarted for that change to
> take effect.

This does help for the save under stuff,
but it gives very strange behaviour for the backing store...

> --- /u/stef/TeXmacs-1.0.1.17-src/src/Window/X/x_window.cpp 2003-06-27
> 17:45:59.000000000 +0200
> +++ /usr/home/stef/TeXmacs-1.0.1.17-src/src/Window/X/x_window.cpp.new
> 2003-09-11 21:40:22.000000000 +0200
> @@ -109,10 +109,11 @@
> // cout << "Size computation required " << (texmacs_time ()-start_1) <<
> " ms\n";
>
> // int start_2= texmacs_time ();
> - unsigned long valuemask= CWOverrideRedirect | CWSaveUnder;
> + unsigned long valuemask= CWOverrideRedirect | CWSaveUnder |
> CWBackingStore;
> XSetWindowAttributes setattr;
> setattr.override_redirect= (name==NULL);
> - setattr.save_under = (name==NULL);
> + setattr.save_under = 1;
> + setattr.backing_store = Always;
> if (win_w == 0) win_w= def_w;
> if (win_h == 0) win_h= def_h;
> if ((win_x+ win_w) > dis->display_width) win_x= dis->display_width-
> win_w;




Archive powered by MHonArc 2.6.19.

Top of Page