-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement default-window-height window rule
Only works for floats that aren't initially fullscreen atm.
- Loading branch information
Showing
1,450 changed files
with
16,540 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAN.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
|
||
post-map configures: | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] |
12 changes: 12 additions & 0 deletions
12
src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAU.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
|
||
post-map configures: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
size: 608 × 680, bounds: 1240 × 680, states: [Activated] |
11 changes: 11 additions & 0 deletions
11
src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBN.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] | ||
|
||
post-map configures: | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] |
11 changes: 11 additions & 0 deletions
11
src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBU.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
|
||
post-map configures: | ||
size: 608 × 680, bounds: 1240 × 680, states: [Activated] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "config:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
|
||
post-map configures: | ||
size: 608 × 680, bounds: 1240 × 680, states: [Activated] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 616 × 688, bounds: 1248 × 688, states: [] | ||
|
||
post-map configures: | ||
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 616 × 688, bounds: 1248 × 688, states: [] | ||
|
||
post-map configures: | ||
size: 616 × 688, bounds: 1248 × 688, states: [] | ||
size: 616 × 688, bounds: 1248 × 688, states: [Activated] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
|
||
post-map configures: | ||
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 616 × 688, bounds: 1248 × 688, states: [] | ||
|
||
post-map configures: | ||
size: 616 × 688, bounds: 1248 × 688, states: [Activated] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "config:\nwindow-rule {\n default-window-height { fixed 500; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 616 × 688, bounds: 1248 × 688, states: [] | ||
|
||
post-map configures: | ||
size: 616 × 688, bounds: 1248 × 688, states: [Activated] |
12 changes: 12 additions & 0 deletions
12
src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAN.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
|
||
post-map configures: | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] |
12 changes: 12 additions & 0 deletions
12
src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAU.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
|
||
post-map configures: | ||
size: 608 × 680, bounds: 1240 × 680, states: [] | ||
size: 608 × 680, bounds: 1240 × 680, states: [Activated] |
11 changes: 11 additions & 0 deletions
11
src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsBN.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: src/tests/window_opening.rs | ||
description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" | ||
expression: snapshot | ||
snapshot_kind: text | ||
--- | ||
initial configure: | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] | ||
|
||
post-map configures: | ||
size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] |
Oops, something went wrong.