danieldg

Results 13 issues of danieldg

Keyboard focus tracking with session lock has some incorrect edge cases around output destroy/create; this changes them to more closely mirror those used by layer_shell.

https://github.com/Smithay/smithay/blob/433a0f408d180c46ecb171e2c01d324ee997884a/src/wayland/shm/pool.rs#L162-L164 Passing null to `slice::from_raw_parts` is UB, see: https://doc.rust-lang.org/nightly/std/slice/fn.from_raw_parts.html

This allows using `Proxy::data` on custom `ObjectData` implementations, and simplifies the implementation of QueueProxyData.

This also fixes some potential missed wakeups when using EventQueue methods in a multi-threaded application.

Calling methods that do not create objects on a Proxy will ignore `InvalidId` errors. This extends that functionality to creation methods. This makes the solution to #530 much simpler (see...

When the screen is locked using ext_session_lock, killing swaylock will leave the session locked. This is normally desirable if the kill is due to the OOM killer or swaylock crashing,...

This passes the responsibility for calling the Reactor between threads instead of relying on the async-io thread to pick up the abandoned Reactor. Threads that are waiting in block_on are...

Triggered this after hitting a key bound to exit on f202bc84d2c072ae39fc4e8a350a8b0a616f350b. There's some pretty clear use-after-free artifacts, and it's reproducible on my system: ``` Program terminated with signal SIGSEGV, Segmentation...

bug

When focus_follows_mouse is off, it is possible to hover and/or scroll windows without giving them keyboard focus. However, attempts to use Ctrl+scroll on such clients will not work correctly because...