| Age | Commit message (Collapse) | Author |
|
|
|
|
|
There's no problem with 1 px overflow here, while 1 px underflow shows up as a
border.
|
|
urgency is done through activation requests without a serial from a
previous interaction.
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/150
|
|
* replace `pointer_hidden` with `pointer_visiblity`
* disable hidden pointer after content underneath has changed
* fixes
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
|
|
|
|
|
|
|
|
This actually doesn't matter in most cases currently, because it more or less
checks for *anything* to have a keyboard focus, so if you have some focused
window while clicking on a mako notification, that already qualifies.
Signed-off-by: Ivan Molodetskikh <yalterz@gmail.com>
|
|
|
|
DnD is external to the layout, so we just inform it when one is ongoing.
|
|
|
|
|
|
As far as I can tell, this would mess up a ton of the logic. Not sure
how anything worked with no outputs before?
|
|
|
|
|
|
|
|
* stub keyboard-shortcuts-inhibit and virtual-pointer impls
* implement keyboard-shortcuts-inhibit
* implement virtual-pointer
* deal with supressed key release edge-case; add allow-inhibiting property
* add toggle-keyboard-shortcuts-inhibit bind
* add InputBackend extensions; use Device::output() for absolute pos events
* add a `State` parameter to the backend exts and better document future intent
* Add some tests for is_inhibiting_shortcuts
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
|
|
|
|
|
|
|
|
So that e.g. unlocking by touching the fingerprint reader powers on the monitors.
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Co-authored-by: Salman Farooq <46742354+SalmanFarooqShiekh@users.noreply.github.com>
|
|
most of the time the activation token is passed
while the window is still unmapped. in this case
store the intend to activate the window for
later retrieval on map.
|
|
In sway, focus-follows-mouse keeps working during DnD, but not in niri.
So it can be surprising when you DnD something into another app, but it
doesn't get automatically focused. This commit fixes that.
Even if the DnD is not validated, or if there's no target surface (e.g.
dropped on the niri background), focus the target output, since that's
how Firefox's drag-tab-into-new-window works for example.
|
|
|
|
valid tokens will stay around until explicitly cleaned-up.
remove the token after it has been successfully used
or we consider it timed out to prevent leaking the memory
used by the activation tokens
|
|
Internally it uses the pointer focus, so make sure we have up-to-date
focus before setting it.
|
|
This is not pointer focus and it shouldn't be pointer focus, let's be
clear about it.
|
|
Avoid microallocations that happen in current_state().
|
|
|
|
* implement cursor position hints
* Remove redundant fully qualified path
* Find root surface
* Convert nesting to if-return
* Manually wrap error messages
* Remove error!() prints
* Add queue redraw
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
|
|
|
|
|
|
Allows xdp-gnome dialogs to work with X11 clients.
Fixes https://github.com/YaLTeR/niri/issues/594
|
|
|
|
|
|
|
|
fix: wlr_output_management use WeakOutput
|
|
This fixes an issue with default CSD border being drawn for SSD
rendering firefox, because only xdg decorations were checked.
|
|
|
|
|
|
|
|
Doesn't do anything yet because we don't bind the fractional scale
manager and don't allow fractional scales.
|
|
Fixes #30.
|
|
|
|
|
|
|
|
Make IME popup to be visible inside the parent and not obscure the
text input rectangle region.
Fixes https://github.com/YaLTeR/niri/issues/221
|
|
|
|
|