forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dde9214ae4c9fccf958bf9bf9e22cb00a618fda5Filtered to src/layout/mod.rsClear filter

2025-02-10

2025-02-05

Make send_frame() a function on MappedIvan Molodetskikh · bfd81fc
Make send_frame() a function on Mapped

We'll add some extra logic there.

2025-02-02

Implement tab indicatorsIvan Molodetskikh · a451f75Browse files

2025-02-06

2025-02-01

2025-02-10

Account for border in contents_under()Ivan Molodetskikh · 1d88393
Account for border in contents_under()

Fixes pointer clicks going through window borders to a layer surface below,
also fixes window not getting activated in all cases from a border click.
layout: Fix variable namesIvan Molodetskikh · 09a559dBrowse files

2025-02-05

Fix find_window_and_output() returning None with no outputsIvan Molodetskikh · 734e3a6
Fix find_window_and_output() returning None with no outputs

As far as I can tell, this would mess up a ton of the logic. Not sure
how anything worked with no outputs before?

2025-01-31

layout: Move tests to separate fileIvan Molodetskikh · 49ddf66
layout: Move tests to separate file

This way changing just the tests won't rebuild the main library.

2025-01-29

misc: Fix typosbbb651 · 34679c7
misc: Fix typos

Using [`typos`](https://github.com/crate-ci/typos) cli
layout: Do not update original output for named workspaces upon adding windowsIvan Molodetskikh · 1d3820a
layout: Do not update original output for named workspaces upon adding windows

The way named workspaces are generally used makes them more "attached" to their
original output.

For example, you have a two-monitor setup with named workspaces on both. When
you disconnect the monitor to go somewhere and work for a while, then return,
you probably want your named workspaces to return to where they were on your
second monitor.

This is in contrast to unnamed workspaces which are more transient and should
more easily follow you wherever you're working.
layout: Update workspace original output on moving even if same monitorIvan Molodetskikh · 1c749f5
layout: Update workspace original output on moving even if same monitor

Moving is an explicit action that puts the workspace on a specific monitor. It
makes sense to update the original output even if the workspace already happens
to be on the target monitor.

2025-01-25

Add move-workspace-to-index and move-workspace-to-monitor actions (#1007)Kirottu · Unverified852da57
Add move-workspace-to-index and move-workspace-to-monitor actions (#1007)

* Added move-workspace-to-index and move-workspace-to-monitor IPC actions

* Added redraws to the workspace handling actions, fixed tests that panicked, fixed other mentioned problems.

* Fixed workspace focusing and handling numbered workspaces with `move-workspace-to-index`

* Fixed more inconsistencies with move-workspace-to-monitor

* Added back `self.workspace_switch = None`

* Reordered some workspace cleanup logic

* Fix formatting

* Add missing blank lines

* Fix moving workspace to same monitor and wrong current index updating

* Move function up and add fixme comment

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-01-23

2025-01-21

2025-01-18

2025-01-15

Implement window shadowsIvan Molodetskikh · bd559a2Browse files

2025-01-10

Fix new Clippy warningsIvan Molodetskikh · 623687eBrowse files
Allow workspace names to be changed dynamically (#904)rustn00b · Unverified5958d3b
Allow workspace names to be changed dynamically (#904)

* Add un/set workspace name actions

* Add SetWorkspaceName reference to proptests

* Simplify unname_workspace

* Add ewaf version of set first workspace name test

* Simplify more

* Fix comment

* Make workspace in set-workspace-name a positional option

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-01-09

Add a window swap operation (#899)rustn00b · Unverified80815a1
Add a window swap operation (#899)

Swap the active window with the a neighboring column's active window.


---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Take into account PR comments

- no longer behave like an expel when a swap is made in a direction
  where there is no column to swap with
- fix janky animation

2025-01-04

2024-12-30

2024-12-29

2024-12-28

2024-12-27

2024-12-26

2024-12-25

floating: Change from getters to pub(super)Ivan Molodetskikh · 3e13fc3
floating: Change from getters to pub(super)

These fields are just data storage. They won't have any logic in
getters/setters.

2024-12-24

2024-12-23