Fix two issues with dnd and themes using different background for hovering #1188

merged 1 commit into from Sep 27, 2012


None yet
2 participants

Cobinja commented Sep 24, 2012

This fixes two issues with Drag'n'Drop in panel applets in combination with themes that set a different background for hovered items.

  1. When trying to drop an item on an applet that doesn't accept it, that applet's actor gets css pseudo class "hover" assigned, even if it's not supposed to get it (neither was track_hover set, nor was checked whether track_hover was set, when syncing the hover states after the drop).

  2. When an actor was dropped to its own old position in window-list and panel-launchers, the same hovering problem occured.

This fix sets track_hover = false for both window-list and panel-launchers applet's container actors and makes sure that track_hover is checked when syncing hover states.

clefebvre merged commit b3556ab into linuxmint:master Sep 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment