keyboard LED bug + patch

2009-02-28 Thread pacman
The component: xf86-input-keyboard The source file: src/lnx_kbd.c The function: GetKbdLeds The bug: int real_leds, leds = 0; ioctl(pInfo-fd, KDGETLED, real_leds); if (real_leds LED_CAP) leds |= XLED1; if (real_leds LED_NUM) leds |= XLED2; if (real_leds LED_SCR) leds |=

[PATCH 1/6] exa: simplify exaPixmapIsOffscreen

2009-02-28 Thread Maarten Maathuis
- This includes properly handling the framebuffer. --- exa/exa.c | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/exa/exa.c b/exa/exa.c index 994a67a..b0a26e9 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -424,6 +424,13 @@ exaModifyPixmapHeader(PixmapPtr

[PATCH 3/6] exa: same treatment for FinishAccess.

2009-02-28 Thread Maarten Maathuis
--- exa/exa.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/exa/exa.c b/exa/exa.c index 17d75d2..7501b65 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -607,10 +607,11 @@ exaFinishAccess(DrawablePtr pDrawable, int index) PixmapPtr pPixmap =

[PATCH 4/6] exa: fix unwrapping of ModifyPixmapHeader upon CloseScreen.

2009-02-28 Thread Maarten Maathuis
- Cleanup wrapping too. --- exa/exa.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exa/exa.c b/exa/exa.c index 7501b65..81c874b 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -933,6 +933,8 @@ exaCloseScreen(int i, ScreenPtr pScreen) unwrap(pExaScr, pScreen,

[PATCH 5/6] exa: remove a few pExaPixmap checks and turn others in FatalErrors.

2009-02-28 Thread Maarten Maathuis
--- exa/exa_migration.c | 28 +--- 1 files changed, 9 insertions(+), 19 deletions(-) diff --git a/exa/exa_migration.c b/exa/exa_migration.c index 8b91150..e7c73f8 100644 --- a/exa/exa_migration.c +++ b/exa/exa_migration.c @@ -52,7 +52,10 @@ exaPixmapIsPinned (PixmapPtr

[PATCH 6/6] exa: avoid a potential Prepare/FinishAccess inbalance.

2009-02-28 Thread Maarten Maathuis
--- exa/exa_unaccel.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index d16ecf7..4279c87 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -405,7 +405,7 @@ ExaCheckComposite (CARD8 op, if