mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
5474e1b9dd
It displays a part of a motor. The faster your X server is, the more rpm you get ;-) Guess how many rpm's I got, when I started with X11 years ago .... 32 rpm with an ET4000 VGA card on a 386 4MB running Interactive Unix ;-))
27 lines
818 B
Plaintext
27 lines
818 B
Plaintext
*** xengine.c~ Wed Oct 3 10:58:17 1990
|
|
--- xengine.c Sun Dec 8 22:17:43 1996
|
|
***************
|
|
*** 180,191 ****
|
|
|
|
Arg args[10];
|
|
|
|
! XtSetArg(args[0], XtNwidth, 0);
|
|
! XtSetArg(args[1], XtNheight, 0);
|
|
XtGetValues(w, args, 2);
|
|
-
|
|
- width = args[0].value;
|
|
- height = args[1].value;
|
|
|
|
XFreePixmap(XtDisplay(engine), enginePixmap);
|
|
enginePixmap = XCreatePixmap(XtDisplay(engine), XtWindow(engine), width, height, DefaultDepthOfScreen(XtScreen(engine)));
|
|
--- 180,188 ----
|
|
|
|
Arg args[10];
|
|
|
|
! XtSetArg(args[0], XtNwidth, &width);
|
|
! XtSetArg(args[1], XtNheight, &height);
|
|
XtGetValues(w, args, 2);
|
|
|
|
XFreePixmap(XtDisplay(engine), enginePixmap);
|
|
enginePixmap = XCreatePixmap(XtDisplay(engine), XtWindow(engine), width, height, DefaultDepthOfScreen(XtScreen(engine)));
|