mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
This adds support for the fractional scaling on Wayland via the wp-fractional-scale protocol. Co-authored-by: Julian Orth <ju.orth@gmail.com>
14 lines
589 B
Rust
14 lines
589 B
Rust
#![allow(dead_code, non_camel_case_types, unused_unsafe, unused_variables)]
|
|
#![allow(non_upper_case_globals, non_snake_case, unused_imports)]
|
|
#![allow(missing_docs, clippy::all)]
|
|
|
|
use wayland_client::protocol::wl_surface;
|
|
use wayland_client::sys;
|
|
use wayland_client::{AnonymousObject, Attached, Main, Proxy, ProxyMap};
|
|
use wayland_commons::map::{Object, ObjectMetadata};
|
|
use wayland_commons::smallvec;
|
|
use wayland_commons::wire::{Argument, ArgumentType, Message, MessageDesc};
|
|
use wayland_commons::{Interface, MessageGroup};
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/fractional_scale_v1.rs"));
|