Revert "canvas: when an item is shown, potentially pick it as the current item"
This reverts commit 37cae2f971
.
This changes causes issues with recursive calls to the enter/leave event handling
stacks in gtk2_adour. Semantically, the change makes perfect sense, but finding
a solution to the recursion is challenging.
This commit is contained in:
parent
151fceea54
commit
9e0c1ff510
@ -275,10 +275,6 @@ Canvas::item_shown_or_hidden (Item* item)
|
|||||||
{
|
{
|
||||||
Rect bbox = item->bounding_box ();
|
Rect bbox = item->bounding_box ();
|
||||||
if (bbox) {
|
if (bbox) {
|
||||||
if (item->visible() && !item->ignore_events()) {
|
|
||||||
pick_current_item (0); /* no mouse state */
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_queue_draw_frozen) {
|
if (_queue_draw_frozen) {
|
||||||
frozen_area = frozen_area.extend (compute_draw_item_area (item, bbox));
|
frozen_area = frozen_area.extend (compute_draw_item_area (item, bbox));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user