Skip to content

Commit

Permalink
Dump post-unfullscreen configure in snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Dec 29, 2024
1 parent 6d59226 commit b8b4da7
Show file tree
Hide file tree
Showing 1,663 changed files with 5,135 additions and 9 deletions.
3 changes: 3 additions & 0 deletions src/handlers/xdg_shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,9 @@ impl XdgShellHandler for State {

// A configure is required in response to this event regardless if there are pending
// changes.
//
// FIXME: when unfullscreening to floating, this will send an extra configure with
// scrolling layout bounds. We should probably avoid it.
toplevel.send_configure();
} else if let Some(unmapped) = self.niri.unmapped_windows.get_mut(toplevel.wl_surface()) {
match &mut unmapped.state {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ 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]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ 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]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 0 × 0, bounds: 1280 × 720, states: []
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 0 × 0, bounds: 1920 × 1080, states: []
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ 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]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 616 × 688, bounds: 1248 × 688, states: []
post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 616 × 688, bounds: 1248 × 688, states: []

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 0 × 0, bounds: 1280 × 720, states: []
post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 0 × 0, bounds: 1920 × 1080, states: []

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 616 × 688, bounds: 1248 × 688, states: []
post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ 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]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ 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]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 0 × 0, bounds: 1280 × 720, states: []
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 0 × 0, bounds: 1920 × 1080, states: []

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ 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]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ initial configure:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

post-map configures:


unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ initial configure:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

post-map configures:


unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ initial configure:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

post-map configures:


unfullscreen configure:
size: 936 × 1048, bounds: 1888 × 1048, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 0 × 0, bounds: 1280 × 720, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]

post-map configures:
size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]

unfullscreen configure:
size: 0 × 0, bounds: 1920 × 1080, states: []
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]

post-map configures:
size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]

unfullscreen configure:
size: 616 × 688, bounds: 1248 × 688, states: [Activated]
Loading

0 comments on commit b8b4da7

Please sign in to comment.