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:
parent
129e812c33
commit
a11ce76b06
|
@ -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>
|
2005-06-09 Eric Anholt <anholt@FreeBSD.org>
|
||||||
|
|
||||||
* ati.h:
|
* ati.h:
|
||||||
|
|
|
@ -393,6 +393,7 @@ RadeonDisplayVideo(KdScreenInfo *screen, ATIPortPrivPtr pPortPriv)
|
||||||
|
|
||||||
END_DMA();
|
END_DMA();
|
||||||
} else {
|
} else {
|
||||||
|
// BEGIN_DMA(11);
|
||||||
BEGIN_DMA(9);
|
BEGIN_DMA(9);
|
||||||
|
|
||||||
OUT_RING(DMA_PACKET0(RADEON_REG_PP_TXFILTER_0, 5));
|
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,
|
OUT_RING_REG(RADEON_REG_PP_TEX_PITCH_0,
|
||||||
pPortPriv->src_pitch - 32);
|
pPortPriv->src_pitch - 32);
|
||||||
|
|
||||||
|
// OUT_RING_REG(ATI_REG_WAIT_UNTIL, ATI_WAIT_CRTC_VLINE);
|
||||||
|
|
||||||
END_DMA();
|
END_DMA();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "regionstr.h"
|
#include "regionstr.h"
|
||||||
#include "mistruct.h"
|
#include "mistruct.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "migc.h"
|
#include "migc.h"
|
||||||
|
|
|
@ -521,9 +521,15 @@ hostx_screen_init (int width, int height)
|
||||||
|
|
||||||
/* Ask the WM to keep our size static */
|
/* Ask the WM to keep our size static */
|
||||||
size_hints = XAllocSizeHints();
|
size_hints = XAllocSizeHints();
|
||||||
|
#if 0
|
||||||
size_hints->max_width = size_hints->min_width = width;
|
size_hints->max_width = size_hints->min_width = width;
|
||||||
size_hints->max_height = size_hints->min_height = height;
|
size_hints->max_height = size_hints->min_height = height;
|
||||||
size_hints->flags = PMinSize|PMaxSize;
|
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);
|
XSetWMNormalHints(HostX.dpy, HostX.win, size_hints);
|
||||||
XFree(size_hints);
|
XFree(size_hints);
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "regionstr.h"
|
#include "regionstr.h"
|
||||||
#include "mistruct.h"
|
#include "mistruct.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "migc.h"
|
#include "migc.h"
|
||||||
|
|
|
@ -52,7 +52,6 @@ X Window System is a trademark of The Open Group */
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "regionstr.h"
|
#include "regionstr.h"
|
||||||
#include "mistruct.h"
|
#include "mistruct.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "migc.h"
|
#include "migc.h"
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "regionstr.h"
|
#include "regionstr.h"
|
||||||
#include "mistruct.h"
|
#include "mistruct.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "migc.h"
|
#include "migc.h"
|
||||||
|
|
|
@ -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>
|
2005-06-09 Eric Anholt <anholt@FreeBSD.org>
|
||||||
|
|
||||||
* neo_draw.c:
|
* neo_draw.c:
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "regionstr.h"
|
#include "regionstr.h"
|
||||||
#include "mistruct.h"
|
#include "mistruct.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "migc.h"
|
#include "migc.h"
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "regionstr.h"
|
#include "regionstr.h"
|
||||||
#include "mistruct.h"
|
#include "mistruct.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "migc.h"
|
#include "migc.h"
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
#include "regionstr.h"
|
#include "regionstr.h"
|
||||||
#include "mistruct.h"
|
#include "mistruct.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "migc.h"
|
#include "migc.h"
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#endif
|
#endif
|
||||||
#include "kdrive.h"
|
#include "kdrive.h"
|
||||||
#include "kaa.h"
|
#include "kaa.h"
|
||||||
#include "fontstruct.h"
|
|
||||||
#include "dixfontstr.h"
|
#include "dixfontstr.h"
|
||||||
|
|
||||||
#define DEBUG_MIGRATE 0
|
#define DEBUG_MIGRATE 0
|
||||||
|
|
|
@ -1373,6 +1373,7 @@ KdMouseAccelerate (DeviceIntPtr device, int *dx, int *dy)
|
||||||
PtrCtrl *pCtrl = &device->ptrfeed->ctrl;
|
PtrCtrl *pCtrl = &device->ptrfeed->ctrl;
|
||||||
double speed = sqrt (*dx * *dx + *dy * *dy);
|
double speed = sqrt (*dx * *dx + *dy * *dy);
|
||||||
double accel;
|
double accel;
|
||||||
|
#ifdef QUADRATIC_ACCELERATION
|
||||||
double m;
|
double m;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1389,6 +1390,11 @@ KdMouseAccelerate (DeviceIntPtr device, int *dx, int *dy)
|
||||||
m = (((double) pCtrl->num / (double) pCtrl->den - 1.0) /
|
m = (((double) pCtrl->num / (double) pCtrl->den - 1.0) /
|
||||||
((double) pCtrl->threshold * 2.0));
|
((double) pCtrl->threshold * 2.0));
|
||||||
accel = m * speed + 1;
|
accel = m * speed + 1;
|
||||||
|
#else
|
||||||
|
accel = 1.0;
|
||||||
|
if (speed > pCtrl->threshold)
|
||||||
|
accel = (double) pCtrl->num / pCtrl->den;
|
||||||
|
#endif
|
||||||
*dx = accel * *dx;
|
*dx = accel * *dx;
|
||||||
*dy = accel * *dy;
|
*dy = accel * *dy;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue