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

Add show_window_menu action #2243

Merged
merged 3 commits into from
Feb 13, 2024
Merged

Add show_window_menu action #2243

merged 3 commits into from
Feb 13, 2024

Conversation

ids1024
Copy link
Contributor

@ids1024 ids1024 commented Feb 9, 2024

Winit currently supports this only on Windows and Wayland.

This requests that a context menu is shown at the cursor position, like the menu normally triggered by right clicking the title bar. This is important for implementing client side decorations with Iced widgets.

runtime/src/window/action.rs Outdated Show resolved Hide resolved
Winit currently supports this only on Windows and Wayland.

This requests that a context menu is shown at the cursor position,
like the menu normally triggered by right clicking the title bar. This
is important for implementing client side decorations with Iced widgets.
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks! 🥳

I renamed the action to show_system_menu to avoid redundancy since window is already the name of the module.

@hecrj hecrj enabled auto-merge February 13, 2024 03:51
@hecrj hecrj added this to the 0.12 milestone Feb 13, 2024
@hecrj hecrj added feature New feature or request shell addition labels Feb 13, 2024
@hecrj hecrj merged commit 52e207b into iced-rs:master Feb 13, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition feature New feature or request shell
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants