forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 0411fd8d90f4e80990ca511f7ea65ea680aef185

2023-10-07

Upgrade dependenciesIvan Molodetskikh · 42b859aBrowse files
Add gaps settingIvan Molodetskikh · 994bc64
Add gaps setting

The past few refactors have led up to this point, and now it's finally
possible.
layout: Refactor view offset, padding, work area handlingIvan Molodetskikh · 624b329
layout: Refactor view offset, padding, work area handling

Fixes broken padding on fullscreen windows, especially with struts on
the sides present.

It is now view offset's job to include padding and struts.

2023-10-05

Refactor layout for configurability, add preset-column-widths optionIvan Molodetskikh · 6fcdb41
Refactor layout for configurability, add preset-column-widths option

layout.rs finally gets a struct actually named Layout.

2023-10-04

2023-10-03

Update READMEIvan Molodetskikh · 7bb1c11Browse files
Add set-column-width actionIvan Molodetskikh · 7558ac1Browse files
Remove unnecessary trace!()Ivan Molodetskikh · ef76b1dBrowse files

2023-10-02

Send output enter/leave to pointer and DnD surfacesIvan Molodetskikh · 382c049
Send output enter/leave to pointer and DnD surfaces

This allows them to apply the right scale factor.

2023-09-30

protocols: add wlr_data_controlKirill Chibisov · 9168f08
protocols: add wlr_data_control

Also update smithay to the latest git hash.

Fixes #20.

2023-10-02

tty: Remove assert on needs_syncIvan Molodetskikh · 2d3d0ce
tty: Remove assert on needs_sync

cosmic-comp doesn't do anything with it.

2023-10-01

config/input: add cursor sectionKirill Chibisov · d8a511b
config/input: add cursor section

This should allow users to configure theme and size for the cursor,
as well as automatically set `XCURSOR_THEME` and `XCURSOR_SIZE` env
variables.
Make default cursor respect output scaleIvan Molodetskikh · 8d443c2
Make default cursor respect output scale

First part of https://github.com/YaLTeR/niri/issues/16

2023-09-30

protocols: add IME protocolsKirill Chibisov · d39da3f
protocols: add IME protocols

This commit adds support for the `input_method_v2`, `text_input_v3`,
and `virtual_keyboard`. The implementation follows the one in the
anvil and catacomb, but those protocols are mostly enabled and
forget type of things.

Fixes #22.

2023-10-01

2023-09-30

Compute view offset relative to anim targetIvan Molodetskikh · 6f8ad18
Compute view offset relative to anim target

This enables quickly tapping focus right-left to keep typing in the
current window while showing the next window.

Resolves https://github.com/YaLTeR/niri/issues/26
Refactor frame schedulingIvan Molodetskikh · a3aa5fc
Refactor frame scheduling

Combine the redraw state variables into one enum, and refactor to get
rid of the requirement that a VBlank must queue a subsequent redraw.
Also fix the bug where ongoing animations that produced no damage could
stall the redrawing.
Make output position configurableIvan Molodetskikh · 21737ab
Make output position configurable

Implements https://github.com/YaLTeR/niri/issues/14
Disable RUST_LIB_BACKTRACE if unsetIvan Molodetskikh · f7c390a
Disable RUST_LIB_BACKTRACE if unset

When building on nightly, this is required to disable the costly
anyhow backtraces.
Use non-fancy miette hookIvan Molodetskikh · 3f8788e
Use non-fancy miette hook

Cuts down our dependencies a bit. We only use miette due to knuffel so
it makes sense.
Update SmithayIvan Molodetskikh · 56cffa1Browse files

2023-09-29

Avoid unnecessary configures for xdg-decorationIvan Molodetskikh · b54acf5
Avoid unnecessary configures for xdg-decoration

They actually break some clients like Tracy for some unknown to me
reason.
Throttle frame callbacks to once per monitor refreshIvan Molodetskikh · 404661e
Throttle frame callbacks to once per monitor refresh

Under some circumstances, the compositor can get into a commit-frame
callback busy loop with a client. For example, if a client redraws on
frame callbacks, but the resulting frame has empty damage (e.g. the
damaged part of the client is outside the monitor). Or if the client
simply commits with empty damage (looking at you, Firefox).

This behavior is compliant with the Wayland specification and with the
intended idea of frame callbacks, but causes a lot of unnecessary CPU
usage in the client and the compositor.

To solve this problem, this commit introduces frame callback throttling.

Every surface may only receive a single frame callback in one
monitor refresh cycle. If a surface commits resulting in no KMS frame
submission, a timer is created, that will fire at the predicted would-
be-VBlank time, and send the accumulated frame callbacks.

This way, a surface that redraws on frame callbacks will not notice
any change in frame callback delivery, if its commits suddenly stop
producing KMS updates.

2023-09-28

layout: Refresh windows tooIvan Molodetskikh · 1572ef7
layout: Refresh windows too

This will send output enter/leave to new popups.

2023-09-27

shell: add support for kde server decorationsKirill Chibisov · 804e064
shell: add support for kde server decorations

This should provide server side decorations for the gtk3 applications,
like firefox.
layout: Use actual working area on workspace creationIvan Molodetskikh · cf123dd
layout: Use actual working area on workspace creation

Fixes https://github.com/YaLTeR/niri/issues/19
layout: Add randomized testIvan Molodetskikh · 31ea816Browse files
Fix test nameIvan Molodetskikh · f2e28f5Browse files
Sort dependenciesIvan Molodetskikh · 6472901Browse files

2023-09-26

Implement primary selectonIvan Molodetskikh · 93369e1
Implement primary selecton

Firefox clipboard doesn't always work without it.
Extract check_opsIvan Molodetskikh · 5ad5f29Browse files