mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 10:21:56 +00:00
Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
72512673b2
commit
2177ef847e
22 changed files with 111 additions and 115 deletions
|
@ -512,6 +512,7 @@ static Class actionCellClass;
|
|||
}
|
||||
|
||||
[_window _captureMouse: self];
|
||||
[self lockFocus];
|
||||
|
||||
e = theEvent;
|
||||
while (!done) // loop until mouse goes up
|
||||
|
@ -557,6 +558,8 @@ static Class actionCellClass;
|
|||
[_window flushWindow];
|
||||
}
|
||||
|
||||
[self unlockFocus];
|
||||
|
||||
[_cell sendActionOn: oldActionMask];
|
||||
|
||||
if (mouseUp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue