Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement fixed context menu for mac and windows #226

Merged
merged 13 commits into from
Nov 12, 2024

Conversation

pewsheen
Copy link
Collaborator

Issue: #225

This PR implements a very first prototype of a context menu that shows only back, forward and reload options.

The structure should be improved once we solved issues from Servo and Wayland popup

src/window.rs Show resolved Hide resolved
@pewsheen pewsheen marked this pull request as ready for review November 11, 2024 08:27
src/context_menu.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
src/lib.rs Outdated
@@ -29,3 +29,6 @@ pub use errors::{Error, Result};
pub use verso::Verso;
/// Re-exporting Winit for the sake of convenience.
pub use winit;
/// Context
#[cfg(any(target_os = "macos", target_os = "windows"))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add stub for linux. It can be easier for future implementation.

@wusyong wusyong added this pull request to the merge queue Nov 12, 2024
Merged via the queue into versotile-org:main with commit 1b892bc Nov 12, 2024
6 checks passed
@pewsheen pewsheen deleted the poc-context-menu branch November 12, 2024 09:07
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.

2 participants