On Windows, add drag_resize_window method support (#2966)

This commit is contained in:
Venceslas Duet 2023-07-21 20:01:56 +02:00 committed by GitHub
parent f7a84a5b50
commit c62e64060b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 24 deletions

View file

@ -1299,7 +1299,8 @@ impl Window {
///
/// ## Platform-specific
///
/// Only X11 is supported at this time.
/// - **macOS:** Always returns an [`ExternalError::NotSupported`]
/// - **iOS / Android / Web / Orbital:** Always returns an [`ExternalError::NotSupported`].
#[inline]
pub fn drag_resize_window(&self, direction: ResizeDirection) -> Result<(), ExternalError> {
self.window.drag_resize_window(direction)