Commit Graph
7808 Commits
Author SHA1 Message Date
Timmy Xiao a3eb8a8bd4 Start IME support 2024-02-03 14:56:10 -07:00
Timmy Xiao 62949df2c8 Ignore drag source handlers (we don't drag from wezterm) 2024-02-03 14:56:10 -07:00
Timmy Xiao 21a6b0636a Implement dispatch_dropped_files 2024-02-03 14:56:10 -07:00
Timmy Xiao 5d6e7c4f98 Implement paste 2024-02-03 14:56:10 -07:00
Timmy Xiao 41eeddb7a1 Implement copying, pasting does not work 2024-02-03 14:56:10 -07:00
Timmy Xiao 30727e96ac Theme the pointer 2024-02-03 14:56:10 -07:00
Timmy Xiao 60066034aa Implement forgotten PointerEventKind::Release, mouse features seem to work now 2024-02-03 14:56:10 -07:00
Timmy Xiao 6807d7c18f Mouse seems to do something, but it is incorrect 2024-02-03 14:56:10 -07:00
Timmy Xiao dfa1e35138 Starting pointer implementation 2024-02-03 14:56:09 -07:00
Timmy Xiao d5f781a2e0 Nuke pointer 2024-02-03 14:56:09 -07:00
Timmy Xiao fb35683e0a Don't use xkbcommon feature in smithay so we can use modifiers 2024-02-03 14:56:08 -07:00
Timmy Xiao cfbc9d716c Use raw_code for process_wayland_key instead of keysym 2024-02-03 14:55:32 -07:00
Timmy Xiao d443afa380 Ignore cursor handling for now 2024-02-03 14:55:32 -07:00
Timmy Xiao 25c123af75 Implement adding keymap 2024-02-03 14:55:31 -07:00
Timmy Xiao 136a043008 Implement enter + emit_focus -> need to impl keymap 2024-02-03 14:55:31 -07:00
Timmy Xiao c66b1855fc Implement pressing a key 2024-02-03 14:55:29 -07:00
Timmy Xiao 8382c370f1 Refactor windows to WaylandState 2024-02-03 14:54:46 -07:00
Timmy Xiao 2ed805af6b Wayland refactor: Put handlers for windows in windows.rs, and separate WaylandState 2024-02-03 14:54:46 -07:00
Timmy Xiao 34bb2bb61d Store OutputState, CompositorState, XdgShell in WaylandState instead of binding them during new_window 2024-02-03 14:54:46 -07:00
Timmy Xiao 57d9320000 Handle window close -> no more crashes 2024-02-03 14:54:46 -07:00
Timmy Xiao 62b2f32e20 Handle scale factor changes: do nothing 2024-02-03 14:54:45 -07:00
Timmy Xiao ad55daebc3 Implement getting screens 2024-02-03 14:54:45 -07:00
Timmy Xiao 21136d2647 Fix delegate dispatch for SurfaceUserData
Without this change, the event dispatch would go on forever and cause a
stack overflow
2024-02-03 14:54:45 -07:00
Timmy Xiao b01e32b606 Implement most of dispatch pending_event 2024-02-03 14:54:45 -07:00
Timmy Xiao 3496aff490 Need to look into window frames 2024-02-03 14:54:45 -07:00
Timmy Xiao 4ce398bc19 A window renders now 2024-02-03 14:54:45 -07:00
Timmy Xiao 9e14a4c929 Implement do_paint -> renders window and then panics at frame() 2024-02-03 14:54:45 -07:00
Timmy Xiao 92e83b1ac5 Handle panics after handling window configuration 2024-02-03 14:54:45 -07:00
Timmy Xiao 0348a584c7 Implement handling window configuration 2024-02-03 14:54:45 -07:00
Timmy Xiao d429fe1a7d Have user data associated with a surface 2024-02-03 14:54:44 -07:00
Timmy Xiao 877e5bdf27 I give up 😭, it's not worth my time 2024-02-03 14:54:44 -07:00
Timmy Xiao 4170f238bd Save the window: no more segfault + wgpu works too 2024-02-03 14:54:44 -07:00
Timmy Xiao 0071064e79 Trying to debug why WSurface has no good object id 2024-02-03 14:54:44 -07:00
Timmy Xiao c694176bef Attempt on Implementing EGL for windows
- wgpu gives segfault so move to EGL
- implement terminating message loop to match prev implementation
- still gives error but no segfault or panic right now
2024-02-03 14:54:44 -07:00
Timmy Xiao 2ff3b665ab Don't block ReadGuard after getting fd -> segfaulting webgpu 2024-02-03 14:54:44 -07:00
Timmy Xiao 2096bc5439 No more todos! but I don't see a window 2024-02-03 14:54:44 -07:00
Timmy Xiao d63d8fdecd WaylandWindowInner 2024-02-03 14:54:44 -07:00
Timmy Xiao 6911ed0943 Window progress: no WindowInner though 2024-02-03 14:54:44 -07:00
Timmy Xiao d49a27d5a7 Implement the epoll stuff 2024-02-03 14:54:43 -07:00
Timmy Xiao 2705e66121 No termination 2024-02-03 14:54:43 -07:00
Timmy Xiao a3eee407c7 Wow a message loop, but it does nothing... 2024-02-03 14:54:43 -07:00
Timmy Xiao 618d7beede Compiles after nuking connection and window 2024-02-03 14:54:40 -07:00
Timmy Xiao 3308cb578b Connections compile without complaining; time for window 2024-02-03 14:52:45 -07:00
Timmy Xiao 3eaba4e3d6 Nuke Wayland 2024-02-03 14:52:42 -07:00
Wez Furlong 9df250f1d2 docs: refine linux install page
make it a bit easier to navigate, update some of the instructions
to reflect more recent changes.
2024-02-03 12:22:32 -07:00
Wez Furlong 603bd423b1 docs: remove legacy config table from initial config page
config_builder has been in the past several releases so we
don't need to worry so much about older versions now.
2024-02-03 11:47:27 -07:00
Wez Furlong 3129e20fd4 docs: update for release 2024-02-03 11:43:04 -07:00
Wez Furlong 5046fc2259 Revert "text cursor glyph renders at native cell size"
This reverts commit 2c95b98447.

More people were vocally and sometimes toxic about this change
than were in favor of it.

I'm just going to revert it and leave the original issue open.

refs: https://github.com/wez/wezterm/issues/2882
2024-02-03 11:08:09 -07:00
Wez Furlong 91749f7f1f docs and missing bit of #4535 #4523 2024-02-03 10:52:15 -07:00
Magnus Groß beb29e8ff7 Mention the -e aliases explicitly in the help
Otherwise it is just hidden forever. We can't use the proper declarative
interface, because we are faking quite some stuff for "-e", so instead
we mention it explicitly in the help output.
2024-02-03 10:36:07 -07:00