debian/changelog
author Ryan C. Gordon
Mon, 21 Aug 2017 00:42:06 -0400
changeset 11334 749cb40916f2
parent 10657 9b0144c1a492
child 11473 f0f6af2b086a
permissions -rw-r--r--
x11: specify event mask for buttons when grabbing pointer (thanks, Stas!).

This fixes a strange corner case (notes appended below), and should be
safe to do anyhow.

Fixes Bugzilla #3674.

"I did more tests.
It appears the bug only happens if there is
another window on the screen that has "always
on top" property. For me it is xawtv - it is
always opened in a screen corner. Closing
xawtv or removing "always on top" property
from it makes the problem to go away.
Plus, it doesn't appear like the buttons are
not delivered at all. It appears that instead
the button presses are delivered on some mouse
positions, but not delivered when you move the
mouse to other part of the window... So this is
really weird and is likely somewhere deep in the
Xorg.
Maybe somehow it happens that the cursor is
actually above the xawtv window, but, because
my app uses grab, it is not visible there, and
in that case the events are not delivered to
my app?
But with my patch the button events are
always delivered flawlessly, it seems.

Hmm, and that indeed seems to explain my problem:
if the mask is set properly and my app uses
grab, then, even if the mouse is above some
other window, the events would still be delivered
to the grabbing app, which is what actually wanted
because my app uses relative mouse mode, so it
doesn't know the pointer can cross some other window
(my app draws the pointer itself).
So my current theory is that my patch only enforces
the mouse grab, which otherwise can be tricked by
some other window preventing the button events
delivery (but motion events are still delivered
via xinput2, which makes it all look very obscure)."
slouken@10657
     1
libsdl2 (2.0.5ubuntu1) UNRELEASED; urgency=low
slouken@10657
     2
slouken@10657
     3
  * Updated SDL to version 2.0.5
slouken@10657
     4
slouken@10657
     5
 -- Sam Lantinga <slouken@libsdl.org>  Mon, 28 Nov 2016 07:32:52 -0800
slouken@10657
     6
slouken@10657
     7
libsdl2 (2.0.4ubuntu1) UNRELEASED; urgency=low
slouken@10041
     8
slouken@10041
     9
  * Updated SDL to version 2.0.4
slouken@10041
    10
slouken@10041
    11
 -- Sam Lantinga <slouken@libsdl.org>  Thu, 07 Jan 2016 11:02:39 -0800
slouken@10041
    12
slouken@8303
    13
libsdl2 (2.0.3) UNRELEASED; urgency=low
slouken@8303
    14
slouken@8303
    15
  * Updated SDL to version 2.0.3
slouken@8303
    16
slouken@8303
    17
 -- Sam Lantinga <slouken@libsdl.org>  Sun, 9 Mar 2014 10:35:54 -0800
slouken@8303
    18
slouken@8197
    19
libsdl2 (2.0.2) UNRELEASED; urgency=low
slouken@8197
    20
slouken@8197
    21
  * Updated SDL to version 2.0.2
slouken@8197
    22
slouken@8197
    23
 -- Sam Lantinga <slouken@libsdl.org>  Sun, 9 Feb 2014 2:55:59 -0800
slouken@8197
    24
slouken@7887
    25
libsdl2 (2.0.1) UNRELEASED; urgency=low
slouken@7887
    26
slouken@7887
    27
  * Updated SDL to version 2.0.1
slouken@7887
    28
slouken@7887
    29
 -- Sam Lantinga <slouken@libsdl.org>  Wed, 23 Oct 2013 16:31:38 -0800
slouken@7887
    30
slouken@6896
    31
libsdl2 (2.0.0) UNRELEASED; urgency=low
slouken@6886
    32
slouken@6886
    33
  * SDL is now a native debian package.
slouken@6886
    34
  * Removed udeb package
slouken@6886
    35
  * Disabled DirectFB support by default, to avoid runtime dependencies
slouken@6886
    36
slouken@6886
    37
 -- Sam Lantinga <slouken@libsdl.org>  Fri, 15 Feb 2013 08:55:04 -0800
slouken@6886
    38
slouken@6892
    39
libsdl2 (2.0.0~20130127-1) UNRELEASED; urgency=low
slouken@6886
    40
slouken@6886
    41
  * New upstream snapshot.
slouken@6886
    42
slouken@6886
    43
 -- Sam Hocevar <sho@debian.org>  Wed, 30 Jan 2013 23:01:12 +0100
slouken@6886
    44
slouken@6892
    45
libsdl2 (2.0.0~20130103-1) unstable; urgency=low
slouken@6886
    46
slouken@6886
    47
  [ Manuel A. Fernandez Montecelo ]
slouken@6886
    48
  * debian/control:
slouken@6886
    49
    - Updating maintainers/permissions:
slouken@6886
    50
      - Add myself and Felix Geyer
slouken@6886
    51
    - Update Build-Depends:
slouken@6886
    52
      - Remove a few obsolete items
slouken@6886
    53
      - Add items added lately to libsdl1.2, such as libts (touch screen)
slouken@6886
    54
        support
slouken@6886
    55
    - Add "libsdl2-dbg", analog to libsdl1.2-dbg
slouken@6886
    56
    - Change "XC-Package-Type: udeb" to "Package-Type"
slouken@6886
    57
  * debian/compat: set level 9
slouken@6886
    58
  * debian/source/format: Set to "3.0 (quilt)"
slouken@6886
    59
    - Remove README.source, not needed with new format
slouken@6886
    60
  * debian/sdl2-config.1: Fix typo, "progams"->"programs"
slouken@6886
    61
  * debian/libsdl2-dev.install:
slouken@6886
    62
    - Remove "usr/lib/*/*.la", discouraged
slouken@6886
    63
    - Add man pages: "usr/share/man/man3/*"
slouken@6886
    64
  * debian/libsdl2-dev.manpages: add file to install local "sdl2-config.1"
slouken@6886
    65
  * debian/sources: Removed, possible obsolete file from long ago?
slouken@6886
    66
  * debian/copyright:
slouken@6886
    67
    - Upstream updated to zlib/libpng
slouken@6886
    68
    - Copyright-file format conversion to 1.0
slouken@6886
    69
    - Complete revamp and detailed research about copyright and licenses used,
slouken@6886
    70
      it's very messy but hopefully complete
slouken@6886
    71
slouken@6886
    72
  [ Felix Geyer ]
slouken@6886
    73
  * Simplify debian/rules by using dh(1).
slouken@6886
    74
slouken@6886
    75
 -- Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>  Sun, 27 Jan 2013 16:40:49 +0100
slouken@6886
    76
slouken@6892
    77
libsdl2 (2.0~20120220c-1) experimental; urgency=low
slouken@6886
    78
slouken@6886
    79
  * Upstream version was renamed to 2.0 (Closes: #669367).
slouken@6886
    80
  * New upstream snapshot (Closes: #671506).
slouken@6886
    81
  * This package no longer conflicts with libsdl-1.2.
slouken@6886
    82
  * debian/rules: add multiarch support (Closes: #669364).
slouken@6886
    83
slouken@6886
    84
  * debian/patches/fix_joystick_misc_axes.diff: fix a joystick remapping
slouken@6886
    85
    bug causing some axes to malfunction.
slouken@6886
    86
  * debian/patches/external_header_paths.diff: provide additional CFLAGS
slouken@6886
    87
    so that headers such as SDL_syswm.h can be included (Closes: #669363).
slouken@6886
    88
slouken@6886
    89
 -- Sam Hocevar <sho@debian.org>  Thu, 17 May 2012 19:03:59 +0200
slouken@6886
    90
slouken@6886
    91
libsdl-1.3 (1.3.0~20111204-1) experimental; urgency=low
slouken@6886
    92
slouken@6886
    93
  * Initial upload from upstream snapshot.
slouken@6886
    94
slouken@6886
    95
 -- Sam Hocevar <sho@debian.org>  Sun, 04 Dec 2011 14:35:05 +0100
slouken@6886
    96