zwp_tablet_tool_v2 button definitions

2025-03-22 Thread Chris Morgan
This is all in the context of the zwp_tablet_tool_v2 interface, based on implementing tablet-v2 for smithay-client-toolkit this week. Whereas 'type' is enumerated: event type { tool_type: uint, } enum type { pen = 0x140, eraser = 0x141, brush = 0x142,

Re: [PATCH 0/3] Resubmit - Unit test framework for Wayland

2012-03-02 Thread Chris Morgan
2012/3/2 Kristian Høgsberg : > On Fri, Mar 2, 2012 at 9:30 AM, Chris Morgan wrote: >>> I found that a good testing framework can lower the barrier of writing >>> useful tests. Nice logging and status reports are important I feel. And >>> if for example you can easily

Re: [PATCH 0/3] Resubmit - Unit test framework for Wayland

2012-03-02 Thread Chris Morgan
> I found that a good testing framework can lower the barrier of writing > useful tests. Nice logging and status reports are important I feel. And > if for example you can easily write data driven tests, then testing all > possible code paths in a critical area becomes straight-forward and the > te

Re: [PATCH] - Map enum window_location to enum wl_shell_resize for the call to wl_shell_resize() to match the type used in shell_resize()

2011-02-14 Thread Chris Morgan
On Sat, Feb 5, 2011 at 10:33 PM, Chris Morgan wrote: > > Patch ok except for the short style c comments? I was going to regenerate it but didn't want to spend the time if there was no interest in the patch. I think the patch makes sense since it provides that hidden mapping between th

Re: [PATCH] - Add the wayland-build.sh script to building.html and to the directory

2011-02-07 Thread Chris Morgan
On Fri, Feb 4, 2011 at 11:02 PM, Chris Morgan wrote: > Darxus' build scripts made getting, building and running wayland very > easy. It seems useful to provide these to users on the official > wayland site to lower the barrier to getting started with wayland. > > I combined

Re: [PATCH] Move window frame surface dimensions into struct display and begin using them in place of hardcoded values

2011-02-07 Thread Chris Morgan
2011/2/7 Kristian Høgsberg : > On Sun, Feb 6, 2011 at 11:14 PM, Chris Morgan wrote: >>  clients/window.c |   44 +++- >>  1 files changed, 35 insertions(+), 9 deletions(-) > > Hi Chris, > > I was thinking that we could introduce a

[PATCH] Move window frame surface dimensions into struct display and begin using them in place of hardcoded values

2011-02-06 Thread Chris Morgan
clients/window.c | 44 +++- 1 files changed, 35 insertions(+), 9 deletions(-) From 202d2c7ddd3503fc9bf015375ff7344c89dfadee Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sun, 6 Feb 2011 23:12:45 -0500 Subject: [PATCH] Move window frame surface

Re: Running on bare hardware

2011-02-06 Thread Chris Morgan
On Feb 6, 2011, at 3:17 PM, Dave Airlie wrote: >> >> (It is also a great pity that whoever designed the modesetting ioctls >> thought _u64 was a good type for all the pointer values. Whoever designed >> the original ioctls used pointer types very successfully.) > > Why would you consider yours

Re: Type safety of protocol calls

2011-02-06 Thread Chris Morgan
On Feb 6, 2011, at 1:22 PM, "Kristian Høgsberg" wrote: > 2011/2/6 Chris Morgan : >> On Sunday, February 6, 2011, Kristian Høgsberg wrote: >>> On Sun, Feb 6, 2011 at 11:57 AM, Chris Morgan wrote: >>>> Hello. >>>> >>>> I ran

Re: Type safety of protocol calls

2011-02-06 Thread Chris Morgan
On Sunday, February 6, 2011, Corbin Simpson wrote: > C++ type safety is still compile-time-only in this case and not necessarily > more bulletproof. Even in EHLLs, I would still take the time to write out > explicit enum mapping code rather than trust the compiler. > Sending from a mobile, pardo

Re: Type safety of protocol calls

2011-02-06 Thread Chris Morgan
On Sunday, February 6, 2011, Kristian Høgsberg wrote: > On Sun, Feb 6, 2011 at 11:57 AM, Chris Morgan wrote: >> Hello. >> >> I ran into an issue figuring out how a resize event made it's way from >> window.c in the client to shell.c on the server. I think I figur

Type safety of protocol calls

2011-02-06 Thread Chris Morgan
Hello. I ran into an issue figuring out how a resize event made it's way from window.c in the client to shell.c on the server. I think I figured out the mapping and sent a patch that performs the mapping between the two different types being used. Assuming the protocol methods specified specific

Re: [PATCH] - Add the wayland-build.sh script to building.html and to the directory

2011-02-06 Thread Chris Morgan
On Friday, February 4, 2011, Chris Morgan wrote: > Darxus' build scripts made getting, building and running wayland very > easy. It seems useful to provide these to users on the official > wayland site to lower the barrier to getting started with wayland. > > I combined two

[PATCH] - Map enum window_location to enum wl_shell_resize for the call to wl_shell_resize() to match the type used in shell_resize()

2011-02-05 Thread Chris Morgan
From dba11faf766d5abecc84c3d55799db6871ecdd44 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sat, 5 Feb 2011 22:30:13 -0500 Subject: [PATCH] Map enum window_location to enum wl_shell_resize for the call to wl_shell_resize() to match the type used in shell_resize() --- clients/window.c

[PATCH] - Add the wayland-build.sh script to building.html and to the directory

2011-02-04 Thread Chris Morgan
mands to make it easier to update, rebuild etc. I also added a brief mention to the top of the building.html. Chris From 71f876333bc37b164c8e62c3ec4ac9329ba59ffb Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Fri, 4 Feb 2011 22:46:51 -0500 Subject: [PATCH] Add the wayland-build.sh scri

Looking for something to hack on to get started with Wayland

2011-02-03 Thread Chris Morgan
Hello. With the help of darxus I was able to get wayland building and running here on Kubuntu Maverick. I was looking for something to work on that would get me started in Wayland development. I'm familiar with c/c++, linux, git and open source development etc. I noticed the TODO file but nothing