Skip to content

Commit

Permalink
FvwmPager: fix offset geom calcs
Browse files Browse the repository at this point in the history
WIP
  • Loading branch information
ThomasAdam committed Dec 2, 2020
1 parent e6e8c6b commit e9da58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/FvwmPager/x_pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,11 @@ void initialize_pager(void)
if (xneg)
{
sizehints.win_gravity = NorthEastGravity;
window_x = mon->w - window_w + window_x;
window_x = monitor_get_all_widths() - window_w + window_x;
}
if (yneg)
{
window_y = mon->h - window_h + window_y;
window_y = monitor_get_all_heights() - window_h + window_y;
if(sizehints.win_gravity == NorthEastGravity)
sizehints.win_gravity = SouthEastGravity;
else
Expand Down

0 comments on commit e9da58d

Please sign in to comment.