Skip to content

Commit

Permalink
Ensure window is not highlighted while swipe is in progress.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsheeler committed Dec 17, 2024
1 parent a481d3b commit e7de021
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,8 @@ export const Preview = GObject.registerClass({
this._entered = true;
if (this.switcher._settings.raise_mouse_over) {
this.make_top_layer(this.switcher.previewActor);
this.switcher._raiseIcons();
}
if (this.switcher._settings.highlight_mouse_over) {
let window_actor = this.metaWin.get_compositor_private();
if (this.switcher._settings.highlight_mouse_over && !this.switcher.gestureInProgress) {
if (this._highlight === null) {
this._highlight = new St.Bin({
opacity: 0,
Expand Down

0 comments on commit e7de021

Please sign in to comment.