Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade smithay-client-toolkit 0.17 #4777

Closed
wants to merge 55 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2f74847
Nuke Wayland
tzx Jan 4, 2024
a3190db
Connections compile without complaining; time for window
tzx Jan 4, 2024
610ca9c
Compiles after nuking connection and window
tzx Jan 4, 2024
eca7bf4
Wow a message loop, but it does nothing...
tzx Jan 4, 2024
e1fd45f
No termination
tzx Jan 4, 2024
552d8dd
Implement the epoll stuff
tzx Jan 4, 2024
966c347
Window progress: no WindowInner though
tzx Jan 4, 2024
5d1ac89
WaylandWindowInner
tzx Jan 4, 2024
4adb02f
No more todos! but I don't see a window
tzx Jan 5, 2024
3f803ef
Don't block ReadGuard after getting fd -> segfaulting webgpu
tzx Jan 5, 2024
6f6c183
Attempt on Implementing EGL for windows
tzx Jan 5, 2024
4025257
Trying to debug why WSurface has no good object id
tzx Jan 5, 2024
f54bb35
Save the window: no more segfault + wgpu works too
tzx Jan 5, 2024
c3b78fd
I give up :sob:, it's not worth my time
tzx Jan 5, 2024
e6bdfe4
Have user data associated with a surface
tzx Jan 6, 2024
c4d64bb
Implement handling window configuration
tzx Jan 7, 2024
1a2d3ea
Handle panics after handling window configuration
tzx Jan 7, 2024
671931a
Implement do_paint -> renders window and then panics at frame()
tzx Jan 7, 2024
4db59e6
A window renders now
tzx Jan 7, 2024
f31274d
Need to look into window frames
tzx Jan 7, 2024
413f8c5
Implement most of dispatch pending_event
tzx Jan 8, 2024
a24c1ff
Fix delegate dispatch for SurfaceUserData
tzx Jan 8, 2024
3a5f388
Implement getting screens
tzx Jan 8, 2024
4b7dd42
Handle scale factor changes: do nothing
tzx Jan 8, 2024
bf61ea6
Handle window close -> no more crashes
tzx Jan 8, 2024
6c0f7e9
Store OutputState, CompositorState, XdgShell in WaylandState instead …
tzx Jan 8, 2024
6dc6920
Wayland refactor: Put handlers for windows in windows.rs, and separat…
tzx Jan 9, 2024
c2c8d24
Refactor windows to WaylandState
tzx Jan 10, 2024
85bb37b
Implement pressing a key
tzx Jan 10, 2024
3e55fe6
Implement enter + emit_focus -> need to impl keymap
tzx Jan 10, 2024
c278e4d
Implement adding keymap
tzx Jan 10, 2024
3b693a9
Ignore cursor handling for now
tzx Jan 10, 2024
96bda97
Use raw_code for process_wayland_key instead of keysym
tzx Jan 10, 2024
6f24a6c
Don't use xkbcommon feature in smithay so we can use modifiers
tzx Jan 11, 2024
bbfefb3
Nuke pointer
tzx Jan 12, 2024
20af052
Starting pointer implementation
tzx Jan 19, 2024
73db71c
Mouse seems to do something, but it is incorrect
tzx Jan 20, 2024
943796c
Implement forgotten PointerEventKind::Release, mouse features seem to…
tzx Jan 20, 2024
cef845d
Theme the pointer
tzx Jan 20, 2024
92f0f59
Implement copying, pasting does not work
tzx Jan 22, 2024
9327a5e
Implement paste
tzx Jan 22, 2024
e356d54
Implement dispatch_dropped_files
tzx Jan 22, 2024
55b58ee
Ignore drag source handlers (we don't drag from wezterm)
tzx Jan 22, 2024
41237cd
Start IME support
tzx Jan 23, 2024
2652394
Implement inputhandler
tzx Jan 23, 2024
312a528
Implement shutdown for ime
tzx Jan 23, 2024
2a6e6ab
Implement wlr-output-management-unstable
tzx Jan 24, 2024
508169e
Fix making wlr-output-management-unstable optional
tzx Jan 24, 2024
660639b
Implement primary selection support
tzx Jan 24, 2024
7ffdab3
Handle crash when using software/opengl due to active_surface_id
tzx Jan 25, 2024
29f1d08
Make IME support optional since not all compositors support it
tzx Jan 26, 2024
cc6ae70
Initial window frame
tzx Jan 27, 2024
168af9b
Implement working frame actions
tzx Jan 27, 2024
5609eaf
Resize window frame correctly
tzx Jan 27, 2024
837aef4
Don't hardcode egl sizes
tzx Jan 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 49 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions window/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ xcb = {version="1.2", features=["render", "randr", "dri2", "xkb", "xlib_xcb", "p
xkbcommon = { version = "0.5.0", features = ["x11", "wayland"] }
mio = {version="0.8", features=["os-ext"]}
libc = "0.2"
smithay-client-toolkit = {version = "0.16.1", default-features=false, optional=true}
wayland-protocols = {version="0.29", optional=true}
wayland-client = {version="0.29", optional=true}
wayland-egl = {version="0.29", optional=true}
smithay-client-toolkit = {version = "0.17.0", default-features=false, optional=true}
wayland-protocols = {version="0.30", optional=true}
wayland-client = {version="0.30", optional=true}
wayland-egl = {version="0.30", optional=true}
xcb-imdkit = { version="0.2", git="https://github.com/wez/xcb-imdkit-rs.git", branch="hangfix"}
zbus = "3.13"
zvariant = "3.14"
Expand Down
Loading