When we're resizing from the top or left, send the new window size
through the X server as well, so it can handle the move and resize with
one atomic attach.
Signed-off-by: Daniel Stone
---
src/xwayland/window-manager.c | 39 ---
1 file changed, 24 insertion
The following sequence:
wl_surface::attach(s, b, 1, 2)
wl_surface::commit(s)
wl_surface::commit(s)
would actually result in the surface getting moved by (2,4) as the
pending attach delta wasn't reset on commit, only by another attach.
This only shows up on single-buffered s
Instead of issuing draw commands immediately after we map or
reconfigure, wait for the server to send us an Expose event, thus making
sure our drawing doesn't get lost.
Signed-off-by: Daniel Stone
---
src/xwayland/window-manager.c | 218 +
1 file changed,
Otherwise glTexSubImage2D will reject our co-ordinates as being out of
bounds.
Signed-off-by: Daniel Stone
---
src/compositor.c |5 +
1 file changed, 5 insertions(+)
diff --git a/src/compositor.c b/src/compositor.c
index 6b0c004..d5b13c8 100644
--- a/src/compositor.c
+++ b/src/composito
Every single frame, we were calling the flush_damage handler in the
renderer. For GLES2 with subimage, this wasn't too bad as we'd never
call glTexSubImage2D, but without it, we'd upload the entire frame
through glTexImage2D every time.
Signed-off-by: Daniel Stone
---
src/compositor.c |3 ++
To avoid deadlocks where the X server is blocked on a roundtrip for
information from the compositor, and the compositor is blocked waiting
for connection information from the X server in window manager init,
wait for a signal from the X server saying that it's now waiting for
clients to connect.
R
Avoids a segfault whenever we get a key event, and try to set the
cursor, dereferencing a NULL input->pointer.
Signed-off-by: Daniel Stone
---
clients/window.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/clients/window.c b/clients/window.c
index ddd8bca..288a526 100644
--- a/cli
Hi all,
Here's the somewhat-delayed XWayland update for 1.0. With this and my
updated X server, I've been able to run XWayland just fine under Weston
from current git master.
The X server tree is at:
git://git.collabora.com/git/user/daniels/xserver
xwayland-1.12 is an extension of the bra
Split motion tracking out into separate handlers so we can have one per
touch.
Signed-off-by: Daniel Stone
---
clients/smoke.c | 155 +++
1 file changed, 110 insertions(+), 45 deletions(-)
diff --git a/clients/smoke.c b/clients/smoke.c
index
Signed-off-by: Daniel Stone
---
clients/smoke.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/clients/smoke.c b/clients/smoke.c
index 905e53f..80b8c58 100644
--- a/clients/smoke.c
+++ b/clients/smoke.c
@@ -37,7 +37,7 @@ struct smoke {
struct window *window;
XKB provides keypad symbols in a separate namespace. We don't care
about the distinction, so map them to normal symbols before starting
processing.
Signed-off-by: Daniel Stone
---
clients/terminal.c | 63
1 file changed, 63 insertions(+)
d
If our colour components are all less than (20 / 255), call it 0 and
move on.
Signed-off-by: Daniel Stone
---
clients/smoke.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/clients/smoke.c b/clients/smoke.c
index 42540d0..f25a657 100644
--- a/clients/smoke.c
+++ b/clients/smoke.c
@@ -1
Adds the wayland version information to the shared libraries.
libwayland-server.so.0.0.0 -> libwayland-server.so.1.0.0
Signed-off-by: Mikko Levonmaa
---
src/Makefile.am |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index f93954e..0a79
13 matches
Mail list logo