Skip to content

Commit

Permalink
refs #100: fixes for fvwm
Browse files Browse the repository at this point in the history
as we're testing virtual size, not real size, the specificities
of WMs, namely how much they delay ConfigureNotify and how Prima
deals with it, is not really the point of this test.

Here, fvwm2 indeed delays these events and they come long after the last
restore() call, but it's not wrong in a sense that Prima cannot wait for
these forever; if a WM is slow, then it's slow.
  • Loading branch information
dk committed Oct 25, 2023
1 parent a7b638d commit 44b77a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/Widget/Size.t
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ $window-> size( 200, 200);
@w = $window-> get_virtual_size;
$window-> restore;
is_deeply( \@w, [200,200], "in maximized state" );
$window->destroy;

####################################

$window = create_window;
my @sz1 = $window-> size;
my $ww = $window-> insert( Widget =>
size => [ -2, -2],
Expand Down

0 comments on commit 44b77a2

Please sign in to comment.