We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2941 - [PATCH] Wayland: Hit Testing Move and Resize
Summary: [PATCH] Wayland: Hit Testing Move and Resize
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-11 23:50 UTC by x414e54
Modified: 2015-04-13 01:00 UTC (History)
1 user (show)

See Also:


Attachments
Wayland Hit Test (5.73 KB, patch)
2015-04-11 23:50 UTC, x414e54
Details | Diff
Wayland Hit Test Update (5.73 KB, patch)
2015-04-12 00:48 UTC, x414e54
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description x414e54 2015-04-11 23:50:29 UTC
I have implemented Hit Testing for Wayland. 

Currently using the wl_shell_surface but would also need to be implemented using the xdg_shell api when that settles down.
Comment 1 x414e54 2015-04-11 23:50:47 UTC
Created attachment 2119 [details]
Wayland Hit Test
Comment 2 x414e54 2015-04-12 00:48:27 UTC
Created attachment 2120 [details]
Wayland Hit Test Update

Updated patch for better error checking, leaving space for xdg_shell and other possible interfaces and line-breaking more consistently.
Comment 3 Ryan C. Gordon 2015-04-13 00:43:01 UTC
This patch is now https://hg.libsdl.org/SDL/rev/879f71e1478b, thanks!

--ryan.
Comment 4 Ryan C. Gordon 2015-04-13 01:00:51 UTC
(Just did a tiny bit of code compacting here, though, so be aware if you are doing more work in this area: https://hg.libsdl.org/SDL/rev/fff4b6354b99 )

--ryan.