mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
desktop drop -> gtk.
This commit is contained in:
parent
39208f1ea5
commit
3f9fffe96d
@ -2,7 +2,7 @@ package desktop
|
||||
|
||||
import (
|
||||
"time"
|
||||
"demodesk/neko/internal/desktop/drop"
|
||||
"demodesk/neko/internal/desktop/gtk"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -10,7 +10,7 @@ const (
|
||||
)
|
||||
|
||||
func (manager *DesktopManagerCtx) DropFiles(x int, y int, files []string) {
|
||||
go drop.DragWindow(files)
|
||||
go gtk.DragWindow(files)
|
||||
|
||||
// TODO: Find a bettter way.
|
||||
time.Sleep(DELAY)
|
@ -1,4 +1,4 @@
|
||||
#include "drop.h"
|
||||
#include "gtk.h"
|
||||
|
||||
static void drag_data_get(
|
||||
GtkWidget *widget,
|
@ -1,10 +1,10 @@
|
||||
package drop
|
||||
package gtk
|
||||
|
||||
/*
|
||||
#cgo linux CFLAGS: -I/usr/src -I/usr/local/include/
|
||||
#cgo pkg-config: gdk-3.0 gtk+-3.0
|
||||
|
||||
#include "drop.h"
|
||||
#include "gtk.h"
|
||||
*/
|
||||
import "C"
|
||||
|
Loading…
Reference in New Issue
Block a user