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

show wayland client's popup/subsurface #108

Merged
merged 7 commits into from
Aug 24, 2022
Merged

show wayland client's popup/subsurface #108

merged 7 commits into from
Aug 24, 2022

Conversation

shierote
Copy link
Contributor

@shierote shierote commented Aug 17, 2022

Context

#116

Summary

In this PR, I focused on showing/hiding popup and subsurface.

  • show popup surface
  • hide popup surface
  • show subsurface
  • hide subsurface

Another features related to popup/subsurface yet not implemented are described in issue #116 #110 and it will be implemented soon.

How to check behavior

  1. run zen-desktop with a wayland client such as weston-terminal.
  2. right-click on the wayland client.
  3. popup appears near cussor.
  4. click another area, and the popup disappears.

@shierote shierote changed the title Add popup window Add popup Aug 21, 2022
@shierote shierote marked this pull request as ready for review August 21, 2022 01:56
@shierote shierote requested a review from a team as a code owner August 21, 2022 01:56
@shierote shierote requested review from Aki-7 and removed request for a team August 21, 2022 01:56
@shierote shierote changed the title Add popup Add wayland client's popup Aug 21, 2022
@Aki-7
Copy link
Member

Aki-7 commented Aug 21, 2022

Current popup implementation is still not completive. I don't want to merge this without knowing what feature about popup is implemented, and what feature is still remained to be implemented.
For example, #111.

At least, the pointer events to popup surfaces are not implemented, right?

zen/render-2d.c Outdated Show resolved Hide resolved
zen/render-2d.c Show resolved Hide resolved
zen/render-2d.c Outdated Show resolved Hide resolved
zen/render-2d.c Outdated Show resolved Hide resolved
This was referenced Aug 22, 2022
@shierote shierote changed the title Add wayland client's popup render wayland client's popup Aug 23, 2022
@shierote shierote changed the title render wayland client's popup show wayland client's popup/subsurface Aug 23, 2022
@shierote shierote requested a review from Aki-7 August 23, 2022 18:20
zen/render-2d.c Outdated Show resolved Hide resolved
zen/render-2d.c Outdated Show resolved Hide resolved
zen/render-2d.c Outdated Show resolved Hide resolved
zen/render-2d.c Outdated Show resolved Hide resolved
@shierote
Copy link
Contributor Author

@Aki-7 Thank you for your review!
I fixed your comments and rechecked the behaviors.

@shierote shierote requested a review from Aki-7 August 24, 2022 12:31
Copy link
Member

@Aki-7 Aki-7 left a comment

Choose a reason for hiding this comment

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

LGTM!

@shierote shierote merged commit 49ea8d0 into zwin-project:dev Aug 24, 2022
@shierote shierote deleted the add-popup-window branch August 24, 2022 23:02
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.

3 participants