mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-02-23 03:33:57 +11:00
core/window: handle graphics context loss
This commit is contained in:
parent
a2146f6394
commit
3dfb7d8827
4 changed files with 33 additions and 2 deletions
|
|
@ -239,6 +239,12 @@ signals:
|
|||
/// This signal is emitted when the window is closed by the user, the display server,
|
||||
/// or an error. It is not emitted when @@visible is set to false.
|
||||
void closed();
|
||||
/// This signal is emitted when resources a window depends on to display are lost,
|
||||
/// or could not be acquired during window creation. The most common trigger for
|
||||
/// this signal is a lack of VRAM when creating or resizing a window.
|
||||
///
|
||||
/// Following this signal, @@closed(s) will be sent.
|
||||
void resourcesLost();
|
||||
void windowConnected();
|
||||
void visibleChanged();
|
||||
void backingWindowVisibleChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue