I was just playing with weston master under X, and timon37's radeon ddx,
weston crashed, when I tried to delete the wayland lock I got an error
that the filesystem was readonly, dmesg said:
[ 496.347230] EXT4-fs error (device sda1): ext4_ext_search_left:1275: inode
#21374007: comm flush-8:0:ix (
On Wed, May 30, 2012 at 04:31:48PM +0100, Daniel Stone wrote:
> Does what it says on the box: lists whether or not the device supports
> key, absolute, relative or touch classes.
>
> Signed-off-by: Daniel Stone
> ---
> src/evdev-private.h |9 +
> src/evdev.c | 26 ++
Instead of mangling the names we've stored in the compositor, generate
our own keymap and pass that to weston_seat_init_keyboard.
Signed-off-by: Daniel Stone
---
src/compositor-x11.c | 87 +++---
1 file changed, 47 insertions(+), 40 deletions(-)
dif
As it does (will) vary per-seat.
Signed-off-by: Daniel Stone
---
clients/window.c | 130 +++---
1 file changed, 66 insertions(+), 64 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index d05142f..6179196 100644
--- a/clients/window.
In preparation for axis values being wl_fixed_t in the protocol as well.
Signed-off-by: Daniel Stone
---
src/compositor.c |2 +-
src/compositor.h |2 +-
src/shell.c | 11 ++-
src/util.c |2 +-
4 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/com
Activate surfaces for all seats when showing the grid, not just the
primary seat.
Signed-off-by: Daniel Stone
---
src/tablet-shell.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index fa45b25..90642ba 100644
--- a
So we don't unnecessarily advertise interfaces the seat doesn't support.
Signed-off-by: Daniel Stone
---
src/compositor-wayland.c |2 ++
src/compositor-x11.c |2 ++
src/compositor.c | 40 +---
src/compositor.h | 10 ++
s
Signed-off-by: Daniel Stone
---
src/compositor.c | 53 +
1 file changed, 33 insertions(+), 20 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index 0a2f71d..56094e6 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2244,6
This allows backends to generate their own keymaps and pass them in for
use rather than always forcing a single global keymap, which is
particularly useful for nested compositors.
Signed-off-by: Daniel Stone
---
src/compositor-wayland.c |2 +-
src/compositor-x11.c |2 +-
src/composit
In practice this doesn't mean much right now, since they all just take
an extra reference on the global keymap.
Signed-off-by: Daniel Stone
---
src/compositor.c | 44
src/compositor.h | 21 +++--
2 files changed, 35 insertions(+),
Signed-off-by: Daniel Stone
---
src/compositor-x11.c |6 +++---
src/compositor.c | 45 +
src/compositor.h | 24 +---
3 files changed, 41 insertions(+), 34 deletions(-)
diff --git a/src/compositor-x11.c b/src/composit
This function gets called after backend_init, so compositors can add
their input devices slightly later on in the process. This gives us a
chance to set the default XKB rulesets, in particular.
Signed-off-by: Daniel Stone
---
src/compositor-drm.c | 18 --
src/compositor-wa
To go with the matching protocol change.
Signed-off-by: Daniel Stone
---
clients/simple-egl.c |2 +-
clients/window.c |2 +-
src/compositor-wayland.c |4 ++--
src/compositor.c |2 +-
tests/test-client.c |2 +-
5 files changed, 6 insertions(+), 6 delet
Rather than using a single hardcoded seat to activate new windows within
a compositor, reset the focus for all seats.
Signed-off-by: Daniel Stone
---
src/shell.c |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 887ce45..96fef1c 100644
Signed-off-by: Daniel Stone
---
src/compositor.c | 23 ++-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index 0e3e9ac..ffbdf96 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -658,20 +658,22 @@ weston_compositor_r
Rather than attempting to have the one handler prototype everywhere.
Signed-off-by: Daniel Stone
---
src/compositor-drm.c | 12 ++--
src/compositor.c | 21 ---
src/compositor.h | 60 +++-
src/screenshooter.c | 17 +++---
src/shell.c | 151 ++
In preparation for the rest of the axis code changing.
Signed-off-by: Daniel Stone
---
src/compositor-wayland.c |2 +-
src/compositor-x11.c | 12
src/compositor.c | 10 ++
src/compositor.h |2 +-
src/evdev.c |6 --
5 files
These keymap events communicate the keymap from the compositor to the
clients via fd passing, rather than having the clients separately
compile a map.
Signed-off-by: Daniel Stone
---
clients/window.c | 106 +++---
src/compositor-wayland.c | 42 +
Signed-off-by: Daniel Stone
---
src/tablet-shell.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index cf9ddf6..fa45b25 100644
--- a/src/tablet-shell.c
+++ b/src/tablet-shell.c
@@ -52,7 +52,6 @@ struct tablet_shell {
struct weston_compo
Took me a second to work out that the 272 was actually BTN_LEFT, as keys
and buttons share a namespace in evdev.
Signed-off-by: Daniel Stone
---
tests/test-client.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/test-client.c b/tests/test-client.c
index c6dfd96..f
Instead of using a uint32_t for state everywhere (except on the wire,
where that's still the call signature), use the new
wl_pointer_button_state enum, and explicit comparisons.
Signed-off-by: Daniel Stone
---
clients/clickdot.c |5 +++--
clients/desktop-shell.c | 16 ++-
Instead of using a uint32_t for state everywhere (except on the wire,
where that's still the call signature), use the new
wl_keyboard_key_state enum, and explicit comparisons.
Signed-off-by: Daniel Stone
---
clients/clickdot.c |5 +++--
clients/eventdemo.c | 10 +++---
clien
Does what it says on the box: lists whether or not the device supports
key, absolute, relative or touch classes.
Signed-off-by: Daniel Stone
---
src/evdev-private.h |9 +
src/evdev.c | 26 ++
2 files changed, 35 insertions(+)
diff --git a/src/evdev-
Since that's what it actually is, rather than a description of the
device as such.
Signed-off-by: Daniel Stone
---
src/evdev-private.h |2 +-
src/evdev-touchpad.c |2 +-
src/evdev.c | 44 ++--
3 files changed, 24 insertions(+), 24 delet
Rather than using #defines.
Signed-off-by: Daniel Stone
---
src/evdev-private.h | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/evdev-private.h b/src/evdev-private.h
index c11c9b6..43143f2 100644
--- a/src/evdev-private.h
+++ b/src/evdev-private.h
@@ -
Simply pushes the updated LEDs through to all keyboard attached to the
seat.
Signed-off-by: Daniel Stone
---
src/evdev.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/src/evdev.c b/src/evdev.c
index a34aa43..e73f343 100644
--- a/src/evdev.c
+++ b/src/evdev
When we update the modifier_state used for Weston bindings, derive this
from the XKB modifier state, rather than a hardcoded mapping of physical
keys to modifier state.
Signed-off-by: Daniel Stone
---
src/compositor.c | 46 --
src/compositor.h |3
Similar to how we deal with modifiers, also add LED handling to the core
input code, with a callout into the backends to update them when they
change.
Signed-off-by: Daniel Stone
---
src/compositor.c | 22 ++
src/compositor.h | 12
2 files changed, 34 inserti
This event lets the compositor inform clients of the canonical keyboard
modifier/group state. Make sure we send it at appropriate moments from
the compositor, and listen for it in clients as well.
Signed-off-by: Daniel Stone
---
clients/window.c | 24
src/comp
To avoid any possible collision between the disparate XKB and Weston
modifier namespaces.
Signed-off-by: Daniel Stone
---
src/compositor.c |2 +-
src/compositor.h | 14 --
src/shell.c |2 +-
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/compositor
If we get a new wl_pointer or wl_keyboard listener from the client
currently owning the focus resource, issue another
wl_{pointer,keyboard}_set_focus so the focus_resource can be updated and
the client can receive an enter event.
Signed-off-by: Daniel Stone
---
src/compositor.c | 23 ++
As well as just updating Weston's internal modifier_state, also update
our xkb_state object, in preparation for serialising modifier values to
clients. This also makes update_modifier_state return 1 if the
modifier/group state has changed, or 0 if not.
Signed-off-by: Daniel Stone
---
src/compos
As we need to keep a separate state for every seat (i.e. keyboard
interface) rather than a compositor-global state.
Signed-off-by: Daniel Stone
---
src/compositor.c | 162 --
src/compositor.h | 13 +++--
2 files changed, 92 insertions(+), 83
If wl_pointer_set_focus or wl_keyboard_set_focus have been called before
a listener has been established for that seat and client combination,
the focus window will be set but the focus resource will be NULL. This
changes these functions to always attempt to search for the relevant
focus resource,
With this event, the compositor generates one canonical keymap for all
clients, and then sends an mmap()able fd over the wire, rather than all
the clients generating possibly disparate keymaps.
Signed-off-by: Daniel Stone
---
protocol/wayland.xml | 18 ++
1 file changed, 18 ins
Which allows for smooth scrolling, among other things.
Signed-off-by: Daniel Stone
---
protocol/wayland.xml |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index d9fb5c2..9d93f4a 100644
--- a/protocol/wayland.xml
+++ b/protocol/w
Hi,
This patchset makes what will hopefully represent the last of the input
protocol changes. The small changes are to add enums for key/button
state rather than using boolean integers, as well as converting axis
events to fixed rather than int, so we can have smooth scrolling.
The big ones are t
Rather than hardcoding 0 and 1 everywhere.
Signed-off-by: Daniel Stone
---
protocol/wayland.xml | 19 +++
src/data-device.c|9 ++---
src/wayland-server.c |8 +---
3 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/protocol/wayland.xml b/protocol
This event sends the current keyboard modifier/group state from the
compositor to the client, allowing all clients to have a consistent view
of the keyboard state (e.g. current layout, Caps Lock, et al). It
should be sent after a keyboard enter event, and also immediately after
any key event which
Make sure we find the right include paths.
Signed-off-by: Daniel Stone
---
cursor/Makefile.am |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cursor/Makefile.am b/cursor/Makefile.am
index 503559a..e08b762 100644
--- a/cursor/Makefile.am
+++ b/cursor/Makefile.am
@@ -11,4 +1
On 05/30, dar...@chaosreigns.com wrote:
> I'd start by building everything but wayland and weston from git masters.
Except for libxkbcommon, which needs branch for-weston-0.85.
> On 05/30, suranjana.bhattacha...@wipro.com wrote:
> > I am trying to build gtk+-3.2.0 with wayland backend by running
I'd start by building everything but wayland and weston from git masters.
All the latest commits compile together for me as of a couple hours ago:
7c8f47a9911e982c0689a80b3d62aff952f6d460 atk
f3a1ee5edd1a46e3c316d8555262bce556bc1480 cairo
652fe8d9dd2393127b11741ba63cb95a83ad454f dri2proto
481234f2
The Android backend provides basic EGL/GLES2 graphics, where everything
is always composited. Overlays are not used. Input is stubbed, therefore
there is no input yet.
This adds the first C++ source file into Weston compositor. The Android
gralloc and fb HAL glue code to the Android EGL library is
Signed-off-by: Pekka Paalanen
---
tests/.gitignore |1 +
wcap/.gitignore |3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
create mode 100644 wcap/.gitignore
diff --git a/tests/.gitignore b/tests/.gitignore
index 3c957f4..45f7735 100644
--- a/tests/.gitignore
+++ b/tests/.gitign
Android does not have EPOLL_CLOEXEC, so add a fallback.
Signed-off-by: Pekka Paalanen
---
clients/window.c |3 ++-
shared/os-compatibility.c | 17 +
shared/os-compatibility.h |3 +++
3 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/clients/window
Some systems may not have execinfo.h. Add a configure test for it, and
if it is not found, make the backtrace() call a no-operation.
Signed-off-by: Pekka Paalanen
---
configure.ac |2 ++
shared/os-compatibility.h | 10 ++
src/compositor.c |1 -
3 files cha
Android does not have SOCK_CLOEXEC, so implement a wrapper that falls
back.
Signed-off-by: Pekka Paalanen
---
shared/Makefile.am|2 +
shared/os-compatibility.c | 78 +
shared/os-compatibility.h | 29 +
src/compositor.c
Hello ,
I am trying to build gtk+-3.2.0 with wayland backend by running the attached
script. I have used following configuration.
1.Wayland 0.85.
2. libffi -3.0.10
3. glib -2.30.2
4. atk -2.3.3
5. gdk-pixbuf 2.24.1
6. pango 1.29.4
7.gtk+-3.2.0
I am getting following error. Please guide me how t
Hi Martin,
comments inline.
On Tue, 29 May 2012 21:44:53 +0200
Martin Minarik wrote:
> Changes from last time, we have function
> weston_log_file_create_in_home() for opening
> log file in home directory, it can handle long file names.
>
> We have function weston_log_handle_server() to redir
On Tue, 29 May 2012 17:37:02 +0200
Martin Minarik wrote:
> The core libwayland libraries should not handle logging, only passing
> the error messages to subscribed functions.
> An application linked to libwayland-server or libwayland-client
> will be able to set own functions (one per library) to
On Tue, 29 May 2012 10:04:45 -0400
Kristian Høgsberg wrote:
> On Tue, May 29, 2012 at 12:05:58PM +0300, Pekka Paalanen wrote:
> > Required for building apps against wayland libraries that have not been
> > installed.
>
> I've seen this before, but how do you actually use uninstalled .pc files?
51 matches
Mail list logo