forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 2d82fdd9c8b60f568c8acdb69864cb13e4e9b694Filtered to src/layout/monitor.rsClear filter

2025-10-05

layout/monitor: Make between-workspace insert hint narrowerIvan Molodetskikh · e5d4e7c
layout/monitor: Make between-workspace insert hint narrower

I've got feedback that full-width hint looks like the window will be
maximized on the new workspace.

2025-09-30

2025-09-26

layout: Move scrolling width resolution to workspaceIvan Molodetskikh · 67ca2cb
layout: Move scrolling width resolution to workspace

This is required now with per-output and per-workspace options.

2025-09-25

2025-09-21

Move background rendering to WorkspaceIvan Molodetskikh · a5e2858
Move background rendering to Workspace

Per-output background-color doesn't work yet.

2025-09-25

2025-09-26

2025-09-25

2025-09-20

2025-06-16

2025-05-13

layout: Fix workspace swipe to same workspace forgetting previous idIvan Molodetskikh · 6d083ea
layout: Fix workspace swipe to same workspace forgetting previous id

This manifested much more prominently in the overview.

2025-05-01

2025-04-26

2025-04-25

Fix panic when interactively moving to invisible workspaceIvan Molodetskikh · d2a1cf5
Fix panic when interactively moving to invisible workspace

Introduced in the interactive move between workspaces commit.
Implement an OverviewIvan Molodetskikh · af1fca3Browse files
Render workspaces separately with gaps betweenIvan Molodetskikh · 9571d14
Render workspaces separately with gaps between

This design makes more sense spatially, and is required for the
Overview. Gaps also make it clear how clipping windows to workspace
bounds works.

Background and bottom layer-shell surfaces get duplicated for each
workspace, while top and overlay stay "on top".

2025-04-24

layout/monitor: Don't consider workspace switch in active_tile_visual_rectangle()Ivan Molodetskikh · 7671a5d
layout/monitor: Don't consider workspace switch in active_tile_visual_rectangle()

This only did something when in the middle of a touchpad gesture, and it
didn't really make sense for that edge case.

2025-04-18

2025-04-17

2025-04-04

2025-04-22

layout/monitor: Keep track of workspace switch gesture start idxIvan Molodetskikh · cee11dc
layout/monitor: Keep track of workspace switch gesture start idx

Fixes jump when "catching" an animation with a gesture.

2025-04-20

Remove cancellation from swipe gesturesIvan Molodetskikh · 59a4224
Remove cancellation from swipe gestures

It only worked for workspace switch, and even there it was more confusing than
helpful.

2025-04-25

Add missing bounds checks to move-workspace actionsIvan Molodetskikh · 74b0162
Add missing bounds checks to move-workspace actions

Fixes panics.

2025-04-17

2025-04-04

layout: Take into account idle time between last gesture event and endIvan Molodetskikh · df94662
layout: Take into account idle time between last gesture event and end

Fixes cases like: do a quick movement with mouse, then hold it in-place for a
while (no events generated), then release the gesture (it uses all that
built-up speed). This also happens with DnD scroll and makes it go further than
intended.

2025-03-29

Add focus argument to move-window-to-workspace (#1332)nyx · Unverified0db48e2
Add focus argument to move-window-to-workspace (#1332)

* layout: add focus flag to move-window-to-workspace

* lib: update comment

* misc: minor dup refactor

* input: format code

* layout: minor nit

* layout: update comment

* input: remove unnecessary conditionals

* misc: replace boolean

* tests: fix the failing one

* layout: change to smart

* ipc: Option<bool> -> bool

* lib: format code

* Rewrite focus doc comment

---------

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

2025-02-27

2025-02-17

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.

2025-02-05

2025-01-29

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.

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-10

Fix new Clippy warningsIvan Molodetskikh · 623687eBrowse files