desktop drop -> gtk.

This commit is contained in:
Miroslav Šedivý 2021-01-07 18:27:50 +01:00
parent 39208f1ea5
commit 3f9fffe96d
4 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -1,4 +1,4 @@
#include "drop.h"
#include "gtk.h"
static void drag_data_get(
GtkWidget *widget,

View File

@ -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"