Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

gdk wayland interaction #101

Closed
psnszsn opened this issue Mar 5, 2019 · 6 comments · Fixed by #665
Closed

gdk wayland interaction #101

psnszsn opened this issue Mar 5, 2019 · 6 comments · Fixed by #665
Labels
enhancement New feature or request gdk good first issue Good for newcomers
Milestone

Comments

@psnszsn
Copy link

psnszsn commented Mar 5, 2019

Is it possible to use the functions from gdkwayland.h?
Specifically i would like to use gdk_wayland_window_get_wl_surface() and gdk_wayland_window_set_use_custom_surface().

@PolyMeilex
Copy link

I also need access to gdkwayland.h functions and I don't know if I overlooked something or they just don't exist.
I looked for functions from ''gdkwayland.h'' in gtk-sys and gir-files and it looks like they are not there.

I also looked for ''.gir'' files for gdkwayland in Debian and Arch repos, but I can only find ''Gdk-3.0.gir'' and ''GdkX11-3.0.gir''.
I'm confused...

@bilelmoussaoui bilelmoussaoui transferred this issue from gtk-rs/gdk Nov 10, 2020
@sdroege
Copy link
Member

sdroege commented Nov 10, 2020

For GTK4 this exists now: https://github.com/gtk-rs/gtk4-rs/tree/master/gdk4-wayland

@sdroege sdroege added enhancement New feature or request good first issue Good for newcomers labels Nov 10, 2020
elmarco pushed a commit to elmarco/gtk-rs that referenced this issue Feb 10, 2021
@bilelmoussaoui
Copy link
Member

I wrote a very small part of gdk3-wayland manually for a crate I'm working on and I was wondering what would be the best way to upstream it here.

I'm thinking of adding the ffi types to gdk-sys's manual.rs & have a feature flag for enabling the gdk-wayland bindings without an extra separate crate. I only have the gdk_wayland_window_unexport_handle & gdk_wayland_window_export_handle parts, more could be added manually in the future by interested people.

@GuillaumeGomez
Copy link
Member

Sounds like a good idea to bind them manually.

@sdroege
Copy link
Member

sdroege commented Nov 3, 2021

This can be closed then? @GuillaumeGomez @bilelmoussaoui

@GuillaumeGomez
Copy link
Member

No, a lot of items are still missing. I'll add them later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request gdk good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants