Skip to content

Show next stackoverlay window preview when switching to offscreen window with mouse#473

Merged
jtaala merged 2 commits intopaperwm:developfrom
PaperWM-redux:keep-stackoverlay-preview-alive-when-switching
Mar 2, 2023
Merged

Show next stackoverlay window preview when switching to offscreen window with mouse#473
jtaala merged 2 commits intopaperwm:developfrom
PaperWM-redux:keep-stackoverlay-preview-alive-when-switching

Conversation

@jtaala
Copy link
Copy Markdown
Collaborator

@jtaala jtaala commented Jan 31, 2023

Closes #470.

This PR automatically shows the next stackoverlay window preview (if window exists) when a user clicks with the current preview. Previous behaviour did not show the next window preview meaning users had to move the mouse away, and then back against the screen edge to show the next preview.

Note: I've also removed the 2 second timeout on showing next window previews. This feels better to me - but please comment if you think the original (2 second timeout for previews) is better.

NOTE: this PR has been implemented in the PaperWM-redux fork, which you can install if you want this, or any of my other open PRs.

preview. Note, removes timeout limit on preview show as long as mouse in
against window edge.
@jtaala jtaala requested a review from smichel17 January 31, 2023 10:18
@jtaala jtaala marked this pull request as draft January 31, 2023 10:24
next window preview.
Resolves corner case where pointer could be moved away during animation
delay.
@jtaala jtaala self-assigned this Feb 1, 2023
@jtaala jtaala marked this pull request as ready for review February 1, 2023 08:18
@jtaala jtaala requested a review from Gelbana February 10, 2023 22:08
@jtaala
Copy link
Copy Markdown
Collaborator Author

jtaala commented Mar 2, 2023

Merging this in now given some time has passed and no comments. I've been running this in anger since creating this PR. Haven't had issues. If you run into issues please report.

@jtaala jtaala merged commit 55d422b into paperwm:develop Mar 2, 2023
jtaala added a commit that referenced this pull request Mar 15, 2023
…sed no margin to be shown (#488)

Closes #364.

This PR was created since @basdelfos develop branch/fork isn't available
anymore :-(

Please see #364 for details of this. It has been a long time coming.
Given the merging of #471 (an improved way to see the window position),
and also the merging of #473, having no margin on the left/right tiling
edge no longer provides the original benefit (of seeing when you're at
an tiling edge).

This simply removes the cases where no left/right margin would be shown
- which also cleans-up/simplifies this area of code (thanks @smichel17
).

Note: we will close #467 as it was originally a way to set this
separately. However we will be closing that in favour of this one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep preview visible when switching to an offscreen window with the mouse

1 participant