diff --git a/src/remote_list.ui b/src/remote_list.ui index 289372f..5054fa3 100644 --- a/src/remote_list.ui +++ b/src/remote_list.ui @@ -17,9 +17,9 @@ True - false - false - false + True + True + True True diff --git a/src/style.css b/src/style.css index 1430e6d..ac91325 100644 --- a/src/style.css +++ b/src/style.css @@ -6,3 +6,10 @@ frame, list, border { border-radius: 4px; } + +:not(decoration):not(window):drop(active):focus, :not(decoration):not(window):drop(active) { + border-color: #4A90D9; + box-shadow: inset 0 0 0 1px #4A90D9; + caret-color: #4A90D9; + border-radius: 4px; +} diff --git a/src/teleport-remote-device.c b/src/teleport-remote-device.c index 84948f5..208bf7c 100644 --- a/src/teleport-remote-device.c +++ b/src/teleport-remote-device.c @@ -338,8 +338,9 @@ teleport_remote_device_init (TeleportRemoteDevice *self) /* Make the widget a DnD destination. */ gtk_drag_dest_set ( - GTK_WIDGET (self), /* widget that will accept a drop */ - GTK_DEST_DEFAULT_ALL, + GTK_WIDGET (self->remote_device_row), /* widget that will accept a drop */ + GTK_DEST_DEFAULT_MOTION /* default actions for dest on DnD */ + | GTK_DEST_DEFAULT_HIGHLIGHT, target_list, /* lists of target to support */ n_targets, /* size of list */ GDK_ACTION_COPY /* what to do with data after dropped */