Skip to content

Commit

Permalink
Merge pull request #16467 from tesonep/16447-Dropping-window-outside-…
Browse files Browse the repository at this point in the history
…of-Pharo-window-borders-closes-the-window

16447-Dropping-window-outside-of-Pharo-window-borders-closes-the-window
  • Loading branch information
MarcusDenker committed Apr 16, 2024
2 parents f0c1cbd + 887691a commit ce8fb66
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Morphic-Widgets-Windows/SystemWindow.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,18 @@ SystemWindow >> reframePanesAdjoining: growingPane along: side to: aDisplayBox [
self extent: self extent
]

{ #category : 'dropping/grabbing' }
SystemWindow >> rejectDropMorphEvent: evt [

super rejectDropMorphEvent: evt.

self formerOwner acceptDroppingMorph: self event: evt.
self position: self formerPosition.

self formerOwner: nil.
self formerPosition: nil.
]

{ #category : 'label' }
SystemWindow >> relabel [
| newLabel |
Expand Down

0 comments on commit ce8fb66

Please sign in to comment.