mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-03 16:59:12 +02:00
fixed by using XFlush.
This commit is contained in:
parent
47a3f6d6fb
commit
466185fc24
1 changed files with 0 additions and 5 deletions
|
@ -9,7 +9,6 @@ import "C"
|
|||
|
||||
import (
|
||||
"strings"
|
||||
"time"
|
||||
"unsafe"
|
||||
|
||||
"github.com/kataras/go-events"
|
||||
|
@ -53,10 +52,6 @@ func goXEventConfigureNotify(display *C.Display, window C.Window, name *C.char,
|
|||
|
||||
C.XFileChooserHide(display, window)
|
||||
|
||||
// Because first dialog is not put properly to background
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
C.XFileChooserHide(display, window)
|
||||
|
||||
if file_chooser_dialog_window == 0 {
|
||||
file_chooser_dialog_window = uint32(window)
|
||||
Emmiter.Emit("file-chooser-dialog-opened")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue