Build with modular X.org libraries and headers.

composite/compwindow.c Don't damage unmoved windows. Let border clip reset
    leave damage alone, pending actual damage for painting.
This commit is contained in:
Keith Packard 2005-08-08 06:25:21 +00:00
parent 129e812c33
commit a11ce76b06
13 changed files with 25 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2005-08-07 Keith Packard <keithp@keithp.com>
* ati_video.c: (RadeonDisplayVideo):
Build with modular X libraries and headers
2005-06-09 Eric Anholt <anholt@FreeBSD.org>
* ati.h:

View File

@ -393,6 +393,7 @@ RadeonDisplayVideo(KdScreenInfo *screen, ATIPortPrivPtr pPortPriv)
END_DMA();
} else {
// BEGIN_DMA(11);
BEGIN_DMA(9);
OUT_RING(DMA_PACKET0(RADEON_REG_PP_TXFILTER_0, 5));
@ -421,6 +422,8 @@ RadeonDisplayVideo(KdScreenInfo *screen, ATIPortPrivPtr pPortPriv)
OUT_RING_REG(RADEON_REG_PP_TEX_PITCH_0,
pPortPriv->src_pitch - 32);
// OUT_RING_REG(ATI_REG_WAIT_UNTIL, ATI_WAIT_CRTC_VLINE);
END_DMA();
}

View File

@ -34,7 +34,6 @@
#include "pixmapstr.h"
#include "regionstr.h"
#include "mistruct.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#include "fb.h"
#include "migc.h"

View File

@ -521,9 +521,15 @@ hostx_screen_init (int width, int height)
/* Ask the WM to keep our size static */
size_hints = XAllocSizeHints();
#if 0
size_hints->max_width = size_hints->min_width = width;
size_hints->max_height = size_hints->min_height = height;
size_hints->flags = PMinSize|PMaxSize;
#else
size_hints->min_width = 100;
size_hints->min_height = 100;
size_hints->flags = PMinSize;
#endif
XSetWMNormalHints(HostX.dpy, HostX.win, size_hints);
XFree(size_hints);

View File

@ -40,7 +40,6 @@
#include "pixmapstr.h"
#include "regionstr.h"
#include "mistruct.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#include "fb.h"
#include "migc.h"

View File

@ -52,7 +52,6 @@ X Window System is a trademark of The Open Group */
#include "pixmapstr.h"
#include "regionstr.h"
#include "mistruct.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#include "fb.h"
#include "migc.h"

View File

@ -35,7 +35,6 @@
#include "pixmapstr.h"
#include "regionstr.h"
#include "mistruct.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#include "fb.h"
#include "migc.h"

View File

@ -1,3 +1,8 @@
2005-08-07 Keith Packard <keithp@keithp.com>
* neo_draw.c:
Build with modular X libraries and headers
2005-06-09 Eric Anholt <anholt@FreeBSD.org>
* neo_draw.c:

View File

@ -32,7 +32,6 @@
#include "pixmapstr.h"
#include "regionstr.h"
#include "mistruct.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#include "fb.h"
#include "migc.h"

View File

@ -34,7 +34,6 @@
#include "pixmapstr.h"
#include "regionstr.h"
#include "mistruct.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#include "fb.h"
#include "migc.h"

View File

@ -35,7 +35,6 @@
#include "pixmapstr.h"
#include "regionstr.h"
#include "mistruct.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#include "fb.h"
#include "migc.h"

View File

@ -29,7 +29,6 @@
#endif
#include "kdrive.h"
#include "kaa.h"
#include "fontstruct.h"
#include "dixfontstr.h"
#define DEBUG_MIGRATE 0

View File

@ -1373,6 +1373,7 @@ KdMouseAccelerate (DeviceIntPtr device, int *dx, int *dy)
PtrCtrl *pCtrl = &device->ptrfeed->ctrl;
double speed = sqrt (*dx * *dx + *dy * *dy);
double accel;
#ifdef QUADRATIC_ACCELERATION
double m;
/*
@ -1389,6 +1390,11 @@ KdMouseAccelerate (DeviceIntPtr device, int *dx, int *dy)
m = (((double) pCtrl->num / (double) pCtrl->den - 1.0) /
((double) pCtrl->threshold * 2.0));
accel = m * speed + 1;
#else
accel = 1.0;
if (speed > pCtrl->threshold)
accel = (double) pCtrl->num / pCtrl->den;
#endif
*dx = accel * *dx;
*dy = accel * *dy;
}