mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-06 06:50:44 +09:00
Remove page stacks on hide
This commit is contained in:
@@ -557,6 +557,10 @@ namespace gsr {
|
|||||||
mgl_context *context = mgl_get_context();
|
mgl_context *context = mgl_get_context();
|
||||||
Display *display = (Display*)context->connection;
|
Display *display = (Display*)context->connection;
|
||||||
|
|
||||||
|
while(!page_stack.empty()) {
|
||||||
|
page_stack.pop();
|
||||||
|
}
|
||||||
|
|
||||||
if(default_cursor) {
|
if(default_cursor) {
|
||||||
XFreeCursor(display, default_cursor);
|
XFreeCursor(display, default_cursor);
|
||||||
default_cursor = 0;
|
default_cursor = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user