Enn3Developer
fe1eab07ae
wayland: add xdg_toplevel_icon_v1 support
...
Closes : #3859 .
2025-06-22 19:40:05 +09:00
Kirill Chibisov
0b21c55b72
winit-core/as_any: fix Box<AsAny> casting
...
The casting was doing an incorrect check on the `ref` instead of
actually trying to downcast a ref as `cast_ref` does. So use `cast_ref`
to check whether we can safely `cast` to owned type.
2025-06-08 22:11:02 +09:00
Mads Marquart
e1bccb68d8
chore: use a shared version number for all winit-* crates
2025-06-08 09:22:58 +09:00
Martin Fischer
f1e0f6c646
icon: add PartialEq and Hash for RgbaIcon
2025-06-08 01:18:55 +09:00
Mads Marquart
2900ecab93
winit-core/keyboard: use keyboard_types
...
Closes #2394 .
2025-06-07 16:47:47 +09:00
Mads Marquart
478427b0bd
Remove the need for cfg_aliases in winit-core ( #4271 )
2025-06-06 13:24:01 +02:00
Mads Marquart
8ad016362a
chore: move event loop recreation check into backends themselves
2025-05-26 13:48:52 +09:00
Mads Marquart
04482d5a2e
fix: Allow unknown bit-depth on macOS ( #4190 )
...
It is unclear what values CGDisplayModeCopyPixelEncoding is allowed to
return, so let's make sure to handle unknown cases.
2025-05-23 16:07:09 +02:00
Evgeny
f51a470872
doc: add info on sticky vs toggle modifier behavior ( #4251 )
2025-05-22 21:57:10 +02:00
Evgeny
38fd3c6a99
winit-core/keyboard: clarify modifier docs
...
Emphasize the difference between logical and physical state, reference sticky mods.
2025-05-21 17:40:28 +09:00
Mads Marquart
5190472bee
chore: use workspace dependencies everywhere
...
To reduce the amount of duplication in 'Cargo.toml's when we split into
different crates.
2025-05-21 15:45:12 +09:00
Mads Marquart
eab03dca80
Move EventLoopExt* to winit-core ( #4228 )
...
* Move EventLoopExtPumpEvents and PumpStatus to winit-core
* Move EventLoopExtRunOnDemand to winit-core
2025-05-20 16:56:53 +02:00
Kirill Chibisov
b5921d89f2
winit-core: add top-level doc
2025-05-14 21:18:44 +09:00
Kirill Chibisov
9598eb371c
winit-core: fix tests
2025-05-14 21:18:44 +09:00
Kirill Chibisov
634b9baea2
winit-core: drop all cfg except web
2025-05-14 21:18:44 +09:00
Kirill Chibisov
cf5e422dc8
winit-core: drop broken docs
...
Generally, winit-core doesn't know about underlying platforms, though,
some general information which will true for any implementation was
left in place.
2025-05-14 21:18:44 +09:00
Kirill Chibisov
276597e009
winit-core: cleanup event loop docs
2025-05-14 21:18:44 +09:00
Kirill Chibisov
c0b737de4a
winit-core: move application
2025-05-14 21:18:44 +09:00
Kirill Chibisov
79fa4061cb
winit-core: move event
2025-05-14 21:18:44 +09:00
Kirill Chibisov
056421546a
winit-core: move ActiveEventLoop
2025-05-14 21:18:44 +09:00
Kirill Chibisov
b4c5b76155
winit-core: move window
...
Create `WindowAttributes` for respective platform specific window
attributes in `winit` due to move of `WindowAttributes`.
2025-05-14 21:18:44 +09:00
Kirill Chibisov
c8b9a86885
winit-core: partially split event_loop
2025-05-14 21:18:44 +09:00
Kirill Chibisov
fe2df61884
winit-core: move error
2025-05-14 21:18:44 +09:00
Kirill Chibisov
446482367b
winit-core: move cursor
2025-05-14 21:18:44 +09:00
Kirill Chibisov
cbb29ab526
winit-core: move icon
2025-05-14 21:18:44 +09:00
Kirill Chibisov
a491c2abed
winit-core: move keyboard
2025-05-14 21:18:44 +09:00
Kirill Chibisov
3142355417
winit-core: move monitor handle
2025-05-14 21:18:44 +09:00
Kirill Chibisov
3493a20173
winit-core: new crate + split out as_any
2025-05-14 21:18:44 +09:00