Skip to content

Commit

Permalink
Merge pull request #2027 from rakoenig/fix_enable_fullscreen
Browse files Browse the repository at this point in the history
Enlarge visible windows only in fullscreen method
  • Loading branch information
mergify[bot] committed Apr 21, 2022
2 parents e0a3592 + f0702c0 commit 22e982c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consoles/localXvnc.pm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ sub fullscreen ($self, $args) {
die "Missing 'xdotool'" unless $xdotool;

# search for YaST Window and grab the id
my $window_id = qx"DISPLAY=$display $xdotool search --sync --limit 1 --name $window_name";
my $window_id = qx"DISPLAY=$display $xdotool search --sync --onlyvisible --name $window_name";
$window_id =~ s/\D//g;

# resize and move window to fit in icewm
Expand Down

0 comments on commit 22e982c

Please sign in to comment.