Commit Graph

10 Commits

Author SHA1 Message Date
Naman Agrawal 3259ef0d53 feat: add feature to create session lock surfaces.
- Allow users to create session lock surfaces by passing an event
`SessionLockEvent::Lock` and unlock them using
`SessionLockEvent::Unlock`.
- Other surfaces of the application should be destroyed before the
session lock is aquired. The wayland client is only allowed to render to
the lock surfaces while the lock is active.
2025-08-28 11:11:48 +05:30
Naman Agrawal fc96e7a8ac feat: layer shell size now has the option to inherit from the bevy window.
- We had to always manually specify the size of the layer shell window,
now it can be inherited from the bevy window by setting
`layer_shell_settings.size = LayerShellWindowSize::Inherit` which is the
default.
- You can still manully set the layer shell size by setting
`layer_shell_settings.size = LayerShellWindowSize::Fixed(width,
height)`.
2025-08-27 11:11:28 +05:30
Naman Agrawal 494b2cdf52 chore: removed unused imports 2025-08-27 11:08:29 +05:30
Naman Agrawal ce15260e3d chore: simplified layer shell example
- The layer shell example now opens only one window instead of opening
multiple windows.
2025-08-27 11:07:24 +05:30
Naman Agrawal e1fcc70667 bugfix: keyboard input was causing the application to crash. 2025-08-22 18:17:53 +05:30
Naman Agrawal e98d52a57f bugfix: mouse events were not being registered.
- Mouse events and Window Events should be sent seperately, they were
being sent only as WindowEvents which made bevy not react to mouse
events.
2025-08-22 16:03:10 +05:30
Naman Agrawal b368d43531 feat: keyboard input and input region 2025-08-22 15:52:48 +05:30
Naman Agrawal 93b879c937 feat: rudimentary implementation with Layer Shell 2025-08-20 17:59:57 +05:30
Naman Agrawal 64508506d1 chore: Project Initilized 2025-08-20 17:59:57 +05:30
Shoaib Merchant 294fe11fef Initial commit 2025-08-19 11:41:35 +05:30