t; - * LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
> DAMAGES
> - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
> - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
> - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
> - */
> -
> -#ifdef
h
>
> ___
> xorg-devel@lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
>
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/ephyr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
index fe947db..5a8d9ef 100644
--- a/hw/kdrive/ephyr/ephyr.c
++
eeded even
for this mode.
v2: Don't register XCB input events when creating a new Xephyr window,
if -seat option is passed.
v3: Assume function hostx_create_window() was removed by previous patch.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ep
Current hostx_get_output_geometry() has a little problem when
checking RandR version, treating e.g. version 2.0 as lower than 1.2.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/hostx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
After commit 623ff251, a lot of functions and data structures
in ephyr/hostx.{c,h} became uneeded. We are removing them now.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/hostx.c | 227
hw/
Xephyr
windows from registering input events when -seat option is passed.
Regards,
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da Silva Mello, 559, Mogi Moderno*
*Mogi das Cruzes - SPCEP 08717-390*
eeded even
for this mode.
v2: Don't register XCB input events when creating a new Xephyr window,
if -seat option is passed.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/ephyr.c | 4 ++--
hw/kdrive/ephyr/hostx.c | 33 ++
-}
> if (myTimeout > 0)
> AdjustWaitForDelay(timeo, myTimeout);
> +
> + if (pScreenPriv->card->cfuncs->blockHandler)
> +(*pScreenPriv->card->cfuncs->blockHandler)(pScreen, timeo);
> }
>
> void
> --
> 2.8.0.rc3
>
&
eeded even
for this mode.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/ephyr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
index f6897cc..9eae0c7 100644
--- a/hw/kdrive/eph
2016-02-25 16:32 GMT-03:00 Laércio de Sousa <
laercioso...@sme-mogidascruzes.sp.gov.br>:
>
> The thing here is that I want to call XkbApplyMappingChange() +
> XkbDDXChangeControls() inside EphyrKeyboardInit(), so I can isolate this
> code properly (I don't need it for e.g. k
controls.
This implementation is analogous to Xnest one at commit 83fef4235.
Supersedes: https://patchwork.freedesktop.org/patch/67504
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac| 2 +-
hw/kdrive/ephyr/ephyr.c | 28 ---
hw/
de EphyrKeyboardInit(), so I can isolate this
code properly (I don't need it for e.g. kdrive evdev driver, since this one
takes keymap directly from proposed -xkb-* options or udev properties), but
I can only do that if EphyrKeyboardInit() is called *after*
InitKeyboardDevic
hat about this?
"This patch makes Xephyr change its keymap to match host X server's one
(unless XKB support is disabled), using xcb-xkb to retrieve the needed XKB
controls."
Kind regards,
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gru
. This implementation
is analogous to Xnest one at commit 83fef4235.
Supersedes: https://patchwork.freedesktop.org/patch/67504
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac| 2 +-
hw/kdrive/ephyr/ephyr.c | 30 ---
hw/kdrive/ephyr/h
. This implementation
is analogous to Xnest one at commit 83fef4235.
Supersedes: https://patchwork.freedesktop.org/patch/67504
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac| 2 +-
hw/kdrive/ephyr/ephyr.c | 30 ---
hw/kdrive/ephyr/h
Hi there!
Regarging https://bugs.freedesktop.org/show_bug.cgi?id=93072, I've also
observed this issue in Ubuntu 15.10 (xorg-server 1.17.2 and systemd 225)
and 16.04 alpha 2 (xorg-server 1.17.3 and systemd 229), but not in openSUSE
Leap 42.1 (xorg-server 1.17.2 and systemd 210).
Could it be a
.
Supersedes: https://patchwork.freedesktop.org/patch/67504
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac| 2 +-
hw/kdrive/ephyr/ephyr.c | 30 ---
hw/kdrive/ephyr/hostx.c | 131 +-
Implement missing parts in kdrive evdev driver for
correct update of evdev keyboard LEDs.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=22302
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/linux/evdev.c | 8 +---
1 file changed, 5 inse
Ah, yes! No problem! We can drop it.
2016-02-22 15:48 GMT-03:00 Adam Jackson <a...@nwnk.net>:
> On Mon, 2016-02-15 at 11:32 -0200, Laércio de Sousa wrote:
>
> > Implement missing parts in kdrive evdev driver for
> > correct update of evdev keyboard L
2016-02-12 14:17 GMT-02:00 Laércio de Sousa <
laercioso...@sme-mogidascruzes.sp.gov.br>:
> - During tests, I realized that some issues regarding input
> hot-plugging with evdev driver in kdrive only seems to affect
> Debian/Ubuntu systems, so I've dropped some pieces
id=7 [slave keyboard (3)]
↳ HID 04f3:0103id=8 [slave keyboard (3)]
Crazily, issue 2 above only seems to affect Debian/Ubuntu systems. I have
another openSUSE box with Xephyr-based multi-seat configured, and it's not
affected by issue 2. I'll do more tests with this openSUSE
I've just confirmed: my openSUSE box is *not* affected by fd unregistering
issue. So I won't treat it as an upstream bug anymore, and I'll drop all
additional verifications from this patch.
2016-02-12 10:13 GMT-02:00 Laércio de Sousa <
laercioso...@sme-mogidascruzes.sp.gov.br>:
>
> 2
for input hot-plugging support.
Another patches may be required for wscons backend.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33140
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/src/Makefile.am | 8 +++
hw/kdrive/src/kdrive.c
Option -seat passed to Xephyr requires -sw-cursor to
be passed as well, otherwise the mouse cursor will remain
invisible for the given seat. This patch takes care of
enabling -sw-cursor if -seat is passed.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/
ificant one introduces input hotplugging support for
keyboards and pointers with both hal and udev backends.
Laércio de Sousa (4):
kdrive: introduce input hot-plugging support for udev and hal backends
(#33140)
kdrive: add options to set default XKB properties
ephyr: enable option -sw-curso
ed to
only grab real keyboards, as other key input devices are currently
not supported.
In order to don't break current behaviour, this patch will replace all
ATTR_KEYBOARD occurrences with ATTR_KEY in hw/xfree86/common/xf86Xinput.c.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascru
InputClass
matching rules yet and not all Linux distros provide default rules to store
these values in udev properties (which by the way is a discouraged practice).
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/src/kdrive.
;driverPrivate = 0;
}
However, it seems to fail in my system, because I always get
that "Ungrabbing evdev mouse device failed" error message.
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da Silva Mello
2016-02-11 8:23 GMT-02:00 Laércio de Sousa <
laercioso...@sme-mogidascruzes.sp.gov.br>:
> 2016-02-11 0:56 GMT-02:00 Peter Hutterer <peter.hutte...@who-t.net>:
>
>> we don't have a 1:1 mapping between devices and fd (e.g. wacom devices all
>> hang off a single fd
ort of comment where the act of writing it is a
> sign that the code must be wrong. Why is RemoveDevice not closing the
> fd for you?
>
I'm not sure why it happens, but without this "redundant" check around
RemoveDevice(), if I unplug the mouse, replug it and start moving it,
Xephyr se
2015-12-11 at 11:43 -0200, Laércio de Sousa wrote:
> > From: Mikhail Krivtsov <mikhail.krivt...@gmail.com>
> >
> > When one hits {Num,Caps,Scroll}Lock key on a Xephyr's keyboard,
> > keyboard itself works as expected but LEDs are not updated
> > and always sta
Em 9 de fev de 2016 05:49, "Peter Hutterer" <peter.hutte...@who-t.net>
escreveu:
>
> On Tue, Feb 09, 2016 at 05:40:26AM -0200, Laércio de Sousa wrote:
> > Em 9 de fev de 2016 02:24, "Peter Hutterer" <peter.hutte...@who-t.net>
> > escreveu:
&g
Em 9 de fev de 2016 02:24, "Peter Hutterer"
escreveu:
> when we introduced the udev config backend we mostly agreed that we
weren't
> going to use udev as a config storage (which is how InputClass was
> conceived). Debian ships them because there was some release timing
Thank you very much, Adam!
I'll take a better look on remaining patches on Wednesday or Thursday and
give you an answer ASAP.
Kind regards.
Em 8 de fev de 2016 18:13, "Adam Jackson" <a...@nwnk.net> escreveu:
> On Fri, 2015-12-11 at 11:43 -0200, Laércio de Sousa wrote:
&
Em 8 de fev de 2016 17:54, "Adam Jackson" escreveu:
> How are you in a scenario where you can pass these values to Xephyr on
> the command line, but can't modify the udev properties?
Well... What I really mean is a scenario where neither the Linux distro,
nor the keyboard vendor,
KDrive evdev driver deliberately name grabbed devices as "Evdev mouse"
or "Evdev keyboard". This patch will make it skip this step if
grabbed devices are already named (i.e. from udev).
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
h
" only. All "kdrive" keyboards are not
"CoreKeyboard" and LEDs of "kdrive" keyboards are always "dead".
One possible solution is cloning "CoreKeyboard" LEDs to all
"kdrive" keyboards.
Fixes: https://bugs.freedesktop.
etups.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/ephyrinit.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c
index d86baf2..09ada96 100644
--- a/hw/kdrive/ephyr/ephyrinit
yboards and pointers with both hal and udev backends.
Laércio de Sousa (8):
kdrive: fix up NewInputDeviceRequest() implementation
kdrive: set "evdev" driver for input devices automatically, if
available.
kdrive: introduce input hot-plugging support for udev and hal backends
This patch simplifies NewInputDeviceRequest() implementation
in kinput.c, making use of improved KdParseKbdOptions()/KdParsePointerOptions()
and merging several "if (ki)"/"if (pi)" clauses.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
h
If kdrive input driver "evdev" is available, no other driver was explicitly
set for a given input device, and its kernel device node is /dev/input/event*,
this patch will make kdrive set "evdev" driver automatically for such device.
Signed-off-by: Laércio de Sou
ed to
only grab real keyboards, as other key input devices are currently
not supported.
In order to don't break current behaviour, this patch will replace all
ATTR_KEYBOARD occurrences with ATTR_KEY in hw/xfree86/common/xf86Xinput.c.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascru
When used for single-GPU multi-seat purposes, there's no need to
enable ephyr virtual input devices, since Xephyr is supposed to
handle its own hardware devices.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/ephyrinit.
values don't match user locale.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/src/kdrive.c | 40
hw/kdrive/src/kinput.c | 16 +++-
2 files changed, 51 insertions(+), 5 deletions(-)
diff --gi
for input hot-plugging support.
Another patches may be required for wscons backend.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33140
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/src/Makefile.am | 8 ++
hw/kdrive/src/kdrive.c
to send all requests at beginning and process
the replies as they are needed. I'm submitting a v3 right now.
Thank you very much!
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da
to
EphyrKeyboardInit(), since it doesn't apply for e.g. kdrive evdev driver.
- Call kdrive keyboard driver's Init() after InitKeyboardDeviceStruct(),
so we can apply keymap change within EphyrKeyboardInit(), as described
above.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov
kdrive keyboard driver's Init() after InitKeyboardDeviceStruct(),
so we can apply keymap change within EphyrKeyboardInit(), as described
above.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac| 2 +-
hw/kdrive/ephyr/ephyr.c
Analogous to Xnest implementation at 83fef4235db86343477b4ec9858c6ba35e1aa7d9.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac| 2 +-
hw/kdrive/ephyr/ephyr.c | 19 +++---
hw/kdrive/ephyr/hostx.
I would like to
call XkbApplyMappingChange()+XkbDDXChangeControls() inside
EphyrKeyboardInit(), which is called before InitKeyboardDeviceStruct() in
kdrive/kinput.c.
Kind regards,
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da Silva
Since non-seat0 X servers no longer touch VTs,
I believe these settings are unnecessary.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/xfree86/os-support/linux/systemd-logind.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/xfre
> Ugh, sorry about that, I was under the assumption that ServerIsNotSeat0
is a function,
> so that the patch would just work, so I did not test it.
>
> Laércio, fixing this requires adding a #include "globals.h" to
systemd-logind.c,
> can you do a v2 with this fixed please ?
Sure! I'll do it
Since non-seat0 X servers no longer touch VTs since release 1.16,
I believe these settings are unnecessary.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/xfree86/os-support/linux/systemd-logind.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
When used for single-GPU multi-seat purposes, there's no need to
load nestedinput driver, since nested Xorg will grab input devices
assigned to the seat in question.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
Conflicts:
src/driver.c
---
src/driver.
the default one for building the driver. For switching back
to Xlib backend, pass configure option --with-backend=xlib.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac|5 +-
src/Makefile.am |9 +-
src/client.h|1 -
src/xcbclient.c
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
README | 60 ++--
TODO | 8 +---
2 files changed, 31 insertions(+), 37 deletions(-)
diff --git a/README b/README
index 12a2fc6..352c4af
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/driver.c | 464 ++---
src/nested_input.c | 155 --
2 files changed, 294 insertions(+), 325 deletions(-)
diff --git a/src/driver.c
eateScreen() also was extended to include a boolean
argument that tells backend client if it needs to set appropriate fullscreen
hint for nested Xorg window.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/client.h
ot;Device"
Identifier "Nested virtual video device"
Driver "nested"
Option "Display" ":0"
Option "Xauthority" "/var/run/Xauthority/:0"
EndSection
If no such an option is defined in xorg.conf, the value defined
in environmen
Because nestedinput is currently not recognized by Xorg as a suitable core
pointer,
it will automatically add "", with devpath /dev/input/mice and
"mouse" driver, which may interfere with nested virtual pointer device.
Signed-off-by: Laércio de Sousa <laercioso...@sme-
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/nested_input.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/nested_input.c b/src/nested_input.c
index 9d2e0d3..0d584c8 100644
--- a/src/nested_input.c
+++ b/src/nested_input.c
@@
in Xephyr to this XCB backend.
Laércio de Sousa (11):
Fix compilation warnings.
Add support for option "Xauthority" in xorg.conf
Add preliminary support for screen options "Fullscreen" and "Output"
in xorg.conf
Add configure option for choosing driver bac
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/client.h | 19 ++-
src/driver.c | 19 ++-
src/xlibclient.c | 5 +++--
3 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/src/client.h b/src/client.h
When used for single-GPU multi-seat purposes, there's no need to
load nestedinput driver, since nested Xorg will grab input devices
assigned to the seat in question.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
Conflicts:
src/driver.c
---
src/driver.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/driver.c | 6 ++
src/nested_input.c | 23 +--
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/src/driver.c b/src/driver.c
index 74c7d93..cafa895 100644
---
I will send a v3 patch with some last-minute fixes found right after v2.
Hopefully all your advices are contempled now.
Please tell me if you have any other concerns.
Att.
2015-11-06 15:18 GMT-02:00 Uli Schlachter <psyc...@znc.in>:
> Hi,
>
> Am 06.11.2015 um 14:10 schrieb L
the default one for building the driver. For switching back
to Xlib backend, pass configure option --with-backend=xlib.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac|5 +-
src/Makefile.am |9 +-
src/xcbclient.c
the default one for building the driver. For switching back
to Xlib backend, pass configure option --with-backend=xlib.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac|5 +-
src/Makefile.am |9 +-
src/xcbclient.c
> +_NestedClientProcessClientMessage(pPriv, ev);
> > +break;
> > +case XCB_MOTION_NOTIFY:
> > +_NestedClientProcessMotionNotify(pPriv, ev);
> > +break;
> > +case XCB_KEY_PRESS:
> > +_NestedClientProcessKe
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
README | 60 ++--
TODO | 4 ++--
2 files changed, 28 insertions(+), 36 deletions(-)
diff --git a/README b/README
index 12a2fc6..352c4af 100644
--- a/
Because nestedinput is currently not recognized by Xorg as a suitable core
pointer,
it will automatically add "", with devpath /dev/input/mice and
"mouse" driver, which may interfere with nested virtual pointer device.
Signed-off-by: Laércio de Sousa <laercioso...@sme-
When used for single-GPU multi-seat purposes, there's no need to
load nestedinput driver, since nested Xorg will grab input devices
assigned to the seat in question.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/driver.c | 14 ++
1 file c
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/nested_input.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/nested_input.c b/src/nested_input.c
index 9d2e0d3..0d584c8 100644
--- a/src/nested_input.c
+++ b/src/nested_input.c
@@
eateScreen() also was extended to include a boolean
argument that tells backend client if it needs to set appropriate fullscreen
hint for nested Xorg window.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/client.h
features present in Xephyr to this XCB backend.
Laércio de Sousa (10):
Fix compilation warnings.
Add support for option "Xauthority" in xorg.conf
Add preliminary support for screen options "Fullscreen" and "Output"
in xorg.conf
Add configure option for
This patch will introduce a new configure option --with-backend=NAME,
that will allow switching easily between available client backend
implementations when building xf86-video-nested.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.a
the default one for building the driver. For switching back
to Xlib backend, pass configure option --with-backend=xlib.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
configure.ac|5 +-
src/Makefile.am |9 +-
src/xcbclient.c
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/client.h | 19 ++-
src/driver.c | 19 ++-
src/xlibclient.c | 5 +++--
3 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/src/client.h b/src/client.h
ot;Device"
Identifier "Nested virtual video device"
Driver "nested"
Option "Display" ":0"
Option "Xauthority" "/var/run/Xauthority/:0"
EndSection
If no such an option is defined in xorg.conf, the value defined
in environmen
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
src/driver.c | 8 +++-
src/nested_input.c | 20
2 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/driver.c b/src/driver.c
index 74c7d93..7939ce7 100644
---
patches 02-07/10 and 09,10/10
still need to be reviewed.
2015-09-03 15:00 GMT-03:00 Laércio de Sousa <
laercioso...@sme-mogidascruzes.sp.gov.br>:
> This patch introduces two command-line options for Xephyr:
>
> * -host-display: set Xephyr DISPLAY environment variable
>
etups.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/ephyrinit.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c
index 0a42c96..e41d376 100644
--- a/hw/kdrive/ephyr/ephyrinit
This is a trivial patch that moves host_has_extension() implementation
from ephyr.c to hostx.c so that it can be called by hostx.c internal
functions. Also rename function to hostx_has_extension() for consistency.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
-
These options are particularly useful when Xephyr is launched
directly from display manager, because DISPLAY and/or XAUTHORITY
environment variables may not be set when it's launched.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/ephyr/ephyrinit.
ed to
only grab real keyboards, as other key input devices are currently
not supported.
In order to don't break current behaviour, this patch will replace all
ATTR_KEYBOARD occurrences with ATTR_KEY in hw/xfree86/common/xf86Xinput.c.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascru
This patch simplifies NewInputDeviceRequest() implementation
in kinput.c, making use of improved KdParseKbdOptions()/KdParsePointerOptions()
and merging several "if (ki)"/"if (pi)" clauses.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
h
If kdrive input driver "evdev" is available, no other driver was explicitly
set for a given input device, and its kernel device node is /dev/input/event*,
this patch will make kdrive set "evdev" driver automatically for such device.
Signed-off-by: Laércio de Sou
for input hot-plugging support.
Another patches may be required for wscons backend.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33140
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/src/Makefile.am | 8 ++
hw/kdrive/src/kdrive.c
" only. All "kdrive" keyboards are not
"CoreKeyboard" and LEDs of "kdrive" keyboards are always "dead".
One possible solution is cloning "CoreKeyboard" LEDs to all
"kdrive" keyboards.
Fixes: https://bugs.freedesktop.
d pointers with both hal and udev backends.
Laércio de Sousa (9):
ephyr: allow passing explictly host X server display number and/or
authorization file path
kdrive: fix up NewInputDeviceRequest() implementation
kdrive: set "evdev" driver for input devices automatically, if
values don't match user locale.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
hw/kdrive/src/kdrive.c | 40
hw/kdrive/src/kinput.c | 16 +++-
2 files changed, 51 insertions(+), 5 deletions(-)
diff --gi
KDrive evdev driver deliberately name grabbed devices as "Evdev mouse"
or "Evdev keyboard". This patch will make it skip this step if
grabbed devices are already named (i.e. from udev).
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br>
---
h
KDrive evdev driver deliberately name grabbed devices as Evdev mouse
or Evdev keyboard. This patch will make it skip this step if
grabbed devices are already named (i.e. from udev).
Signed-off-by: Laércio de Sousa laercioso...@sme-mogidascruzes.sp.gov.br
---
hw/kdrive/linux/evdev.c | 6 --
1
for input hot-plugging support.
Another patches may be required for wscons backend.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33140
Signed-off-by: Laércio de Sousa laercioso...@sme-mogidascruzes.sp.gov.br
---
hw/kdrive/src/Makefile.am | 8 ++
hw/kdrive/src/kdrive.c| 39
values don't match user locale.
Signed-off-by: Laércio de Sousa laercioso...@sme-mogidascruzes.sp.gov.br
---
hw/kdrive/src/kdrive.c | 40
hw/kdrive/src/kinput.c | 16 +++-
2 files changed, 51 insertions(+), 5 deletions(-)
diff --git a/hw
This is a trivial patch that moves host_has_extension() implementation
from ephyr.c to hostx.c so that it can be called by hostx.c internal
functions. Also rename function to hostx_has_extension() for consistency.
Signed-off-by: Laércio de Sousa laercioso...@sme-mogidascruzes.sp.gov.br
---
hw
real keyboards, as other key input devices are currently
not supported.
In order to don't break current behaviour, this patch will replace all
ATTR_KEYBOARD occurrences with ATTR_KEY in hw/xfree86/common/xf86Xinput.c.
Signed-off-by: Laércio de Sousa laercioso...@sme-mogidascruzes.sp.gov.br
These options are particularly useful when Xephyr is launched
directly from display manager, because DISPLAY and/or XAUTHORITY
environment variables may not be set when it's launched.
Signed-off-by: Laércio de Sousa laercioso...@sme-mogidascruzes.sp.gov.br
---
hw/kdrive/ephyr/ephyrinit.c | 20
This patch simplifies NewInputDeviceRequest() implementation
in kinput.c, making use of improved KdParseKbdOptions()/KdParsePointerOptions()
and merging several if (ki)/if (pi) clauses.
Signed-off-by: Laércio de Sousa laercioso...@sme-mogidascruzes.sp.gov.br
---
hw/kdrive/src/kinput.c | 76
1 - 100 of 252 matches
Mail list logo