diff --git a/internal/desktop/drop.go b/internal/desktop/gtk.go similarity index 85% rename from internal/desktop/drop.go rename to internal/desktop/gtk.go index 60208c6f..70e1a714 100644 --- a/internal/desktop/drop.go +++ b/internal/desktop/gtk.go @@ -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) diff --git a/internal/desktop/drop/drop.c b/internal/desktop/gtk/gtk.c similarity index 99% rename from internal/desktop/drop/drop.c rename to internal/desktop/gtk/gtk.c index 457808ac..1184d695 100644 --- a/internal/desktop/drop/drop.c +++ b/internal/desktop/gtk/gtk.c @@ -1,4 +1,4 @@ -#include "drop.h" +#include "gtk.h" static void drag_data_get( GtkWidget *widget, diff --git a/internal/desktop/drop/drop.go b/internal/desktop/gtk/gtk.go similarity index 93% rename from internal/desktop/drop/drop.go rename to internal/desktop/gtk/gtk.go index 3bc8b9b3..d4dc81de 100644 --- a/internal/desktop/drop/drop.go +++ b/internal/desktop/gtk/gtk.go @@ -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" diff --git a/internal/desktop/drop/drop.h b/internal/desktop/gtk/gtk.h similarity index 100% rename from internal/desktop/drop/drop.h rename to internal/desktop/gtk/gtk.h