Hello, Peter Hutterer.
I’m planning to add a “Event cancel”(Touch Cancel?) event in x11
protocol.
Like below article I want to send a event to apps for notification about
current events are canceled!.
How/What I doing for this job?
I need your advise. Please give me your help.
Thanks
On Thu, Apr 16, 2015 at 03:50:41PM +0900, �� wrote:
Hello, Peter Hutterer.
I��m planning to add a ��Event cancel��(Touch Cancel?) event in x11
protocol.
Like below article I want to send a event to apps for notification about
current events are canceled!.
How/What I doing for
Humble ping ?
On 9 April 2015 at 15:49, Emil Velikov emil.l.veli...@gmail.com wrote:
Silly me forgot to add Keith to the Cc list.
Keith can you consider the pull request below.
Thanks
Emil
On 24 March 2015 at 17:52, Emil Velikov emil.l.veli...@gmail.com wrote:
Hi Keith,
Various
With larger ellipses, rounding will cause some spans close to vertical
tangent to be of zero length, leading to sometimes rather large missing
portion of the arc.
Try to detect this case and work around it.
Signed-off-by: Olivier Fourdan ofour...@redhat.com
---
mi/miarc.c | 10 ++
1
When using large values for width/height ( 5000) arcs, the values of
inx and outx in miComputeEllipseSpans() gets so close that the spans
lw and rw get down to 0, meaning that no pixel will be drawn on screen.
lines 566 to 578 in mi/miarc.c from miComputeEllipseSpans()
span-lx =
From: Peter Hutterer [mailto:peter.hutte...@who-t.net]
Sent: Thursday, April 16, 2015 4:38 PM
Cc: xorg-devel@lists.x.org
Subject: Re: [X11] Question about TouchCancel event like ACTION_CANCEL in
android
On Thu, Apr 16, 2015 at 03:50:41PM +0900,wrote:
Hello, Peter Hutterer.
I
At the moment, the X server uses a non-default timeout for D-Bus
messages to systemd-logind. The only timeouts normally used with
D-Bus are:
1) Infinite
2) Default
Anything else is just as arbitrary as Default, and so rarely makes
sense to use instead of Default.
Put another way, there's little
It's possible to receive a message reply in the message filter if a
previous message call timed out locally before the reply arrived.
The message_filter function only handles signals, at the moment, and
does not properly handle message replies.
This commit changes the message_filter function to
Avoid opportunity for integer overflow when allocating servers array.
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
---
di/utils.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/di/utils.c b/di/utils.c
index 7f7aa46..752d913 100644
--- a/di/utils.c
+++ b/di/utils.c
@@
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
hw/vfb/InitOutput.c |8
hw/xnest/Color.c| 17 +++--
hw/xnest/Display.c |4 ++--
hw/xnest/GC.c |5 ++---
hw/xnest/Keyboard.c |2 +-
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
xkb/XKBAlloc.c | 14 +-
xkb/XKBGAlloc.c |2 +-
xkb/XKBMAlloc.c | 47 -
xkb/maprules.c | 12 -
xkb/xkb.c| 32
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
hw/dmx/config/dmxconfig.c| 10 +-
hw/dmx/dmx.c | 10 +-
hw/dmx/dmxcmap.c |2 +-
hw/dmx/dmxcursor.c |2 +-
Uses reallocarray to perform integer overflow detection when allocating
an array, using NULL as the previous pointer to force a new allocation.
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
include/os.h |2 ++
1 file changed, 2
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
hw/xfree86/common/xf86AutoConfig.c |2 +-
hw/xfree86/common/xf86Bus.c | 21 ++--
hw/xfree86/common/xf86Config.c | 20 +--
v2: fixup whitespace
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
Reviewed-by: Michel Dänzer michel.daen...@amd.com
---
glamor/glamor_compositerects.c |2 +-
glamor/glamor_glyphs.c |2 +-
glamor/glamor_gradient.c |
v2: remove now useless parentheses
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
os/connection.c | 13 +++--
os/utils.c |2 +-
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/os/connection.c
v2 includes the style fixes suggested after the previous round of review.
Alan Coopersmith (17):
Remove remaining doc references to Xalloc, Xrealloc, and Xfree
Let calloc handle multiplication
Add XNFcallocarray() to allow xnfcalloc() to check for overflow
Import reallocarray() from
Functions were removed in commit cad9b053d52f62432
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
doc/Xserver-spec.xml |9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/doc/Xserver-spec.xml
v2: remove now useless parentheses
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
Xext/hashtable.c |4 ++--
Xext/panoramiX.c | 10 +-
Xext/panoramiXprocs.c | 19 +--
Xext/saver.c
v2: remove now useless parentheses
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
dix/atom.c |4 +--
dix/colormap.c | 71 +++---
dix/devices.c|4 +--
dix/dispatch.c
v2: Remove extra 's' from comment
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
include/os.h |9 +
os/utils.c | 10 ++
2 files changed, 19 insertions(+)
diff --git a/include/os.h b/include/os.h
index
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
hw/kdrive/ephyr/ephyrdriext.c |4 ++--
hw/kdrive/ephyr/hostx.c | 14 +++---
hw/kdrive/fake/fake.c |2 +-
hw/kdrive/fbdev/fbdev.c |2 +-
It's going to multiply anyway, so if we have non-constant values, might
as well let it do the multiplication instead of adding another multiply,
and good versions of calloc will check for avoid overflow in the process.
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt
v2: remove now useless parentheses
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Reviewed-by: Matt Turner matts...@gmail.com
---
mi/miarc.c | 25 +++
mi/mibitblt.c | 16 +++
mi/micmap.c |
The xnfcalloc() macro took two arguments but simply multiplied them
together without checking for overflow and defeating any overflow
checking that calloc() might have done. Let's not do that.
The original XNFcalloc() function is left for now to preserve driver
ABI, but is marked as deprecated
Needed when using a compiler that defaults to 64-bit output when
configure is checking for $host_cpu.
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
---
configure.ac |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index
Left behind when commit 5c12399b6c3a8d moved the xorg_bus_* settings
elsewhere.
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
---
configure.ac |5 -
1 file changed, 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3028e12..fc15460 100644
--- a/configure.ac
+++
27 matches
Mail list logo