Skip to content

Native Wayland support via GTK4 + layer-shell #1

Description

@NovusEdge

Summary

Implement native Wayland support using GTK4 and gtk4-layer-shell for proper overlay window positioning on Wayland compositors.

Current State

  • Basic GTK4 + layer-shell integration
  • Sprite rendering with Cairo
  • Window positioning via layer margins
  • Proper transparency (CSS approach may not work on all compositors)
  • Click-through behavior verification
  • Drag to pick up pet
  • Screen size detection from GDK monitors

Architecture

Wayland compositor
    └── gtk4-layer-shell (overlay layer)
        └── GtkWindow (transparent)
            └── GtkDrawingArea
                └── Cairo (sprite rendering)

Dependencies

  • gtk4
  • gtk4-layer-shell

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions