File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -490,9 +490,9 @@ LayoutManager.prototype = {
490490 } ,
491491
492492 hideKeyboard : function ( immediate ) {
493- this . keyboardBox . hide ( ) ;
494493 this . _chrome . modifyActorParams ( this . keyboardBox , { affectsStruts : false } ) ;
495494 this . _chrome . updateRegions ( ) ;
495+ this . keyboardBox . hide ( ) ;
496496 this . emit ( 'keyboard-visible-changed' , false ) ;
497497 } ,
498498
@@ -1007,7 +1007,7 @@ Chrome.prototype = {
10071007 let monitor = this . findMonitorForActor ( actorData . actor ) ;
10081008 let side ;
10091009 if ( x1 <= monitor . x && x2 >= monitor . x + monitor . width ) {
1010- if ( y1 <= monitor . y )
1010+ if ( y1 <= monitor . y + ( actorData . actor . name === "keyboardBox" ? 100 : 0 ) )
10111011 side = Meta . Side . TOP ;
10121012 // Hack to let the keyboardBox be considered struts even though it's off the edge of the monitor
10131013 // by some panel height amount.
You can’t perform that action at this time.
0 commit comments