Skip to content

Commit

Permalink
DnD: Don't disable reactivity (#1610)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter committed Apr 4, 2023
1 parent c0a77ad commit 530a66e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions data/gala.appdata.xml.in
Expand Up @@ -34,6 +34,7 @@
<issue url="https://github.com/elementary/gala/issues/1566">Hotkeys are not working with non-EN keyboard layout</issue>
<issue url="https://github.com/elementary/gala/issues/1578">Closing a window in multitasking view closes multitasking view</issue>
<issue url="https://github.com/elementary/gala/issues/1584">When 2 windows are tiled and then resized, the inactive one gets glitched, leaving its full-sized picture as an artifact when minimized</issue>
<issue url="https://github.com/elementary/gala/issues/1607">Picture-in-Picture drag seems to snap to a grid</issue>
</issues>
</release>

Expand Down
2 changes: 0 additions & 2 deletions lib/DragDropAction.vala
Expand Up @@ -304,8 +304,6 @@ namespace Gala {
ungrab_actor ();
grab_actor (handle, event.get_device ());

handle.reactive = false;

var source_list = sources.@get (drag_id);
if (source_list != null) {
var dest_list = destinations[drag_id];
Expand Down
3 changes: 3 additions & 0 deletions src/Widgets/IconGroup.vala
Expand Up @@ -520,6 +520,9 @@ namespace Gala {

toggle_close_button (false);

// disable reactivity so that workspace thumbs can get events
reactive = false;

return this;
}

Expand Down

0 comments on commit 530a66e

Please sign in to comment.