Riccardo Canalicchio
977b375feb
wayland: use GSStandardWindowDecorationView to hit-test cursor clicks
2021-12-29 14:29:44 +01:00
Fred Kiefer
9c7c878717
Merge pull request #35 from nongio/wayland-pointer
...
Wayland backend pointer events and cursor images
2021-12-27 17:52:47 +01:00
Riccardo Canalicchio
89280c0e3e
code formatting
2021-12-27 15:21:03 +01:00
Fred Kiefer
06be91b267
Merge pull request #34 from nongio/wayland-shm-surface
...
Wayland shm surface
2021-12-27 13:29:36 +01:00
Riccardo Canalicchio
ec500d2bfb
wayland backend: libs-gui api change _menu
2021-12-27 10:00:02 +01:00
Riccardo Canalicchio
cc7af18075
wayland backendL capture mouse bugfix
2021-12-27 09:53:15 +01:00
Riccardo Canalicchio
a240d1b4d8
wayland cursor: capture and release methods
2021-12-22 07:50:34 +01:00
Riccardo Canalicchio
2683cdd8ab
Wayland backend: cursor event serial
2021-12-20 00:12:13 +01:00
Riccardo Canalicchio
54b2b172d8
Wayland backend: cursor icon functions
2021-12-20 00:11:48 +01:00
Riccardo Canalicchio
5db58c071d
Wayland backend: window ignoreMouse
2021-12-20 00:11:41 +01:00
Riccardo Canalicchio
00b7183f84
Wayland backend: cursor handlers
2021-12-20 00:11:32 +01:00
Riccardo Canalicchio
96f07c13f7
Wayland server: remove attach calls from server, surface attach is delegated to cairo surface
2021-12-13 22:23:59 +01:00
Riccardo Canalicchio
91a1479193
Wayland server: code formatting
...
using clang-format from:
https://github.com/gnustep/libs-base/blob/master/.clang-format
2021-11-23 14:00:01 -05:00
Riccardo Canalicchio
114743a5d0
wayland backend: refactor logs
2021-11-09 03:23:08 -05:00
Riccardo Canalicchio
5967015078
wayland backend: window move/resize
2021-11-06 08:09:26 -04:00
Riccardo Canalicchio
502dde25f5
wayland backend: surface roles based on window level
2021-11-06 08:07:44 -04:00
Riccardo Canalicchio
6a9e97660d
wayland backend: change logs to debuglog
2021-10-28 02:35:31 -04:00
Riccardo Canalicchio
30ceacc90d
wayland backend: refactor code, split into categories
2021-10-25 07:38:15 -04:00
Riccardo Canalicchio
7b87b268e3
wayland backend: layer shell
2021-10-25 03:13:35 -04:00
Riccardo Canalicchio
1d74e36258
wayland backend:re-attach surface on ExposeRect
2021-10-19 02:10:45 -04:00
Riccardo Canalicchio
e7ab056264
wayland backend:implement xdg ping/pong handler
...
this prevents the client from being considered unresponsive
2021-10-18 13:39:58 -04:00
Riccardo Canalicchio
c6ce795898
wayland backend: delayed toplevel creation
2021-10-18 03:37:02 -04:00
Ivan Vučica
bf4efe9d36
wayland: Added a small readme noting some backend-specific information.
2020-04-25 18:23:49 +01:00
Ivan Vučica
8f0cc1b0ca
wayland: Write down TODOs for cairo_surface doublebuffering to itself and for mouse wheel axis_source.
2020-04-25 18:12:43 +01:00
Ivan Vučica
f8b8609e70
wayland: Implement -[WaylandServer mouselocation].
2020-04-25 18:12:42 +01:00
Ivan Vučica
67e352b83e
wayland: Deleted the useless override of -[GSDisplayServer windowlist].
2020-04-25 18:12:42 +01:00
Ivan Vučica
c6e9ee857f
wayland: Support mouse middle click and smooth scroll wheel events.
2020-04-25 18:12:41 +01:00
Ivan Vučica
b294b7f1b9
wayland: In case *stable* XDG Shell protocol isn't supported, be more informative.
...
The exception was not very informative about why exactly the
error message may occur. Weston in Debian buster doesn't
support the stable XDG Shell protocol, for instance, and
triaging this took some effort.
2020-04-25 18:12:40 +01:00
Ivan Vučica
84f71f5c3e
wayland: Additional interface registration NSDebugLog() output.
2020-04-25 18:12:39 +01:00
Ivan Vučica
359aa9e639
wayland: Additional clean up for license headers.
2020-04-25 16:14:07 +01:00
Ivan Vučica
41b2d294ed
wayland: Checking whether the surface is configured before committing.
...
This now results in windows being painted on the screen. However, input is
still ending up in all the wrong places, and there is a lot of garbage content
being painted outside the actual windows.
Right clicking on a window seems to trigger rotate behavior, which needs to
be evaluated and likely removed (or prevented, if this is done by Weston).
Interestingly, checking for ->configured on first surface commit also seems to
break the backend.
2020-04-17 01:19:26 +01:00
Ivan Vučica
36eefc981e
wayland: Assortment of fixes noticed during code review.
...
Rearranging order of the code, freeing some memory, writing a note
that additional work is required, returning a value through pointer
passed as argument, etc.
2020-04-15 00:36:37 +01:00
Ivan Vučica
80cc4121ae
wayland: Additional license header fixes noticed during PR.
2020-04-15 00:35:47 +01:00
Ivan Vučica
e8e615548a
wayland: Update license headers and copyright statement.
...
For contributions, we generally ask that copyright is assigned
to FSF. I believe this has been done by Sergio.
2020-04-15 00:19:53 +01:00
Ivan Vučica
3db7a6fbd4
wayland: Split the check for compositor and wm_base into two checks.
2020-04-15 00:00:40 +01:00
Ladislav Michl
c1cce2ad67
wayland: WIP
2020-04-15 00:00:40 +01:00
Ladislav Michl
e805a4a6c0
wayland: Whitespace fixes
2020-04-15 00:00:40 +01:00
Ladislav Michl
05f362d528
wayland: Add wayland integration and use stable protocol.
...
non functional, all changes just make it compile again. Configure changes
by Ivan Vučica.
2020-04-15 00:00:40 +01:00
Sergio L. Pascual
81456203b2
Dirty Wayland backend implementation.
2020-04-15 00:00:40 +01:00