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

Simplify some input logic #8317

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Aug 26, 2024

  1. scene_descriptor: Move sway_popup_desc to scene_descriptor.h

    We'll want to use the descriptor type for a helper soon and we don't want
    to pull all of view.h with us.
    Nefsen402 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    d3f0929 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a9b3ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93961e9 View commit details
    Browse the repository at this point in the history
  4. scene_descriptor: Add scene_descriptor_reassign

    Same as the assign variant, but lets us mutate an existing descriptor
    if it exists instead of asserting.
    Nefsen402 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    bdcffbd View commit details
    Browse the repository at this point in the history
  5. container: Assign container scene descriptor to view aswell

    We have to do with for fullscreen surfaces: Fullscreen surfaces
    technically aren't part of their container anymore visually (so the
    scene doesn't have it) but we want acknowledge the container it belongs
    to for input reasons.
    
    This will allow us to simplify node_at_coords later.
    Nefsen402 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    3e73064 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4a3c13f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6ceade3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1ee209d View commit details
    Browse the repository at this point in the history
  9. layer_shell: Replace toplevel_layer_surface_from_surface with scene_d…

    …escriptor_find
    
    We can instead search the scene instead of hand rolling this logic
    Nefsen402 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    eadc380 View commit details
    Browse the repository at this point in the history