forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 7b3bef124d85dccb3ebe21cc1a3dda45eafa0d78Filtered to src/layout/mod.rsClear filter

2024-07-05

Added Commnads to focus windows or Monitors above/below the active window (#497)TheAngusMcFire · Unverifieda56e4ff
Added Commnads to focus windows or Monitors above/below the active window (#497)

* Implement focus-window-up/down-or-monitor calls

* Fixed wrong naming of focus-window-or-monitor commands

* fix copy pase errors for focusing direction

* Fixed wrong behaviour when the current workspace is empty

* Cleanup navigation code to reduce complexity

* Fix wrong comments and add testcases for FocusWindowOrMonitorUp/Down

---------

Co-authored-by: Christian Rieger <christian.rieger@student.tugraz.at>

2024-06-28

feat: add `focus-column-or-monitor-left`, `focus-column-or-monitor-right` (#456)Filipe Paniguel · Unverifiedbdf9894
feat: add `focus-column-or-monitor-left`, `focus-column-or-monitor-right` (#456)

* feat: add support for focus-window-or-monitor

* addresses output without window case

* refactor: reduce verbosity

* update this..

* refactor: rename `maybe_focus_window` functions

* refactor: flip focus_window_or_output return logic

* Update src/layout/mod.rs

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

* refactor: rename to Column

* move blocks next to other Column variables

---------

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

2024-06-19

2024-06-17

Animate xdg-activation and foreign-toplevel workspace switchesIvan Molodetskikh · 793e1bd
Animate xdg-activation and foreign-toplevel workspace switches

These are a bit jarring without an animation.
Refactor layout to fractional-logicalIvan Molodetskikh · 1dae45c
Refactor layout to fractional-logical

Lets borders, gaps, and everything else stay pixel-perfect even with
fractional scale. Allows setting fractional border widths, gaps,
struts.

See the new wiki .md for more details.

2024-06-13

2024-06-11

2024-06-01

Implement our own TextureBuffer/RenderElementIvan Molodetskikh · 3c63be6
Implement our own TextureBuffer/RenderElement

Supports fractional texture scale + has some getters.

2024-05-29

Signal fractional scale to clientsIvan Molodetskikh · e3406ac
Signal fractional scale to clients

Doesn't do anything yet because we don't bind the fractional scale
manager and don't allow fractional scales.

2024-06-09

Add `focus-column-right-or-first`, `focus-column-left-or-last` (#391)James Sully · Unverifieda55e385
Add `focus-column-right-or-first`, `focus-column-left-or-last` (#391)

* add focus-column-right-or-first

* add focus-column-left-or-last

2024-06-04

Add missing fullscreen checkIvan Molodetskikh · c6c17cc
Add missing fullscreen check

Fixes crash when a window in a column requests to be unfullscreened.

2024-06-02

Preserve empty named workspaces upon output removalIvan Molodetskikh · b5ad0e1
Preserve empty named workspaces upon output removal

Not sure how we missed this.

2024-05-22

2024-05-16

2024-05-11

Implement named workspacesGergely Nagy · eb9bbe3
Implement named workspaces

This is an implementation of named, pre-declared workspaces. With this
implementation, workspaces can be declared in the configuration file by
name:

```
workspace "name" {
  open-on-output "winit"
}
```

The `open-on-output` property is optional, and can be skipped, in which
case the workspace will open on the primary output.

All actions that were able to target a workspace by index can now target
them by either an index, or a name. In case of the command line, where
we do not have types available, this means that workspace names that
also pass as `u8` cannot be switched to by name, only by index.

Unlike dynamic workspaces, named workspaces do not close when they are
empty, they remain static. Like dynamic workspaces, named workspaces are
bound to a particular output. Switching to a named workspace, or moving
a window or column to one will also switch to, or move the thing in
question to the output of the workspace.

When reloading the configuration, newly added named workspaces will be
created, and removed ones will lose their name. If any such orphaned
workspace was empty, they will be removed. If they weren't, they'll
remain as a dynamic workspace, without a name. Re-declaring a workspace
with the same name later will create a new one.

Additionally, this also implements a `open-on-workspace "<name>"` window
rule. Matching windows will open on the given workspace (or the current
one, if the named workspace does not exist).

Signed-off-by: Gergely Nagy <niri@gergo.csillger.hu>

2024-05-15

2024-05-14

2024-05-11

2024-04-22

Add is_active_in_columnTheZoq2 · 47a8e75
Add is_active_in_column

Add missing ```

Fix tests

2024-05-11

2024-05-10

2024-05-04

Split update_render_elements() from advance_animations()Ivan Molodetskikh · 73cc007
Split update_render_elements() from advance_animations()

advance_animations() is called from places like input, whereas
update_render_elements() is strictly for rendering.

2024-05-03

2024-05-01

2024-04-24

Implement border window ruleIvan Molodetskikh · 3e598c5Browse files

2024-04-21

2024-04-19

Synchronize column removal anim on consume left/rightIvan Molodetskikh · 568c35f
Synchronize column removal anim on consume left/right

Visible when consuming left/right when always-centered and differing
horizontal view anim.

2024-04-16

2024-04-13

2024-04-10

Reimplement window closing anim in an efficient wayIvan Molodetskikh · 1888696
Reimplement window closing anim in an efficient way

- Keep a root surface cache to be accessible in surface destroyed()
- Only snapshot during / right before closing, rather than every frame
- Store textures rather than elements to handle scale and alpha properly

2024-04-09

2024-04-08

Implement window open shift in terms of window-movementIvan Molodetskikh · 4856522
Implement window open shift in terms of window-movement

This removes the quite unobvious visual size, and fixes jerking when
opening multiple windows in quick succession.

2024-03-24

2024-03-23

2024-03-19