Skip to content

Commit

Permalink
EdgeScroll: a few improvements
Browse files Browse the repository at this point in the history
This addresses some edgescroll improvements and simplifies the logic
between how panframes are handled between being in global and per-monitor
mode.

Now, monitor edges which border one another don't have a panframe added
for global mode (only the outside edges are).  With the same logic,
per-screen panframes are drawn for all edges.

This also helps to reduce problems where some screens have different
resolutions, and so now dead spave between monitors is handled much
better.

Fixes #523
  • Loading branch information
somiaj authored and ThomasAdam committed Jun 10, 2021
1 parent 75ebba9 commit a0ff58a
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 174 deletions.
1 change: 1 addition & 0 deletions fvwm/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -4089,6 +4089,7 @@ void dispatch_event(XEvent *e)
XRRUpdateConfiguration(e);
monitor_update_ewmh();
monitor_emit_broadcast();
initPanFrames();
break;
}
}
Expand Down
Loading

0 comments on commit a0ff58a

Please sign in to comment.