Skip to content
Discussion options

You must be logged in to vote

You could do this by adding the data-tauri-drag-region attribute to part of the HTML in your front-end code, like this:

<div data-tauri-drag-region>
    Dragging this <code>div</code> will drag the window.
</div>

Otherwise, without decorations, there aren't any areas of the window that are by default draggable.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@boan-anbo
Comment options

@FabianLars
Comment options

@boan-anbo
Comment options

Answer selected by elanzini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants