File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
nx-X11/programs/Xserver/hw/nxagent Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -803,6 +803,7 @@ static void nxagentEnableAutoGrab(void)
803803 nxagentGrabPointerAndKeyboard (NULL );
804804 setWinNameSuffix (WINDOWSUFFIX_AUTOGRAB , "input grabbed" );
805805 updateWinName ();
806+ nxagentChangeOption (AutoGrab , True );
806807}
807808
808809static void nxagentDisableAutoGrab (void )
@@ -814,6 +815,7 @@ static void nxagentDisableAutoGrab(void)
814815 nxagentUngrabPointerAndKeyboard (NULL );
815816 setWinNameSuffix (WINDOWSUFFIX_AUTOGRAB , NULL );
816817 updateWinName ();
818+ nxagentChangeOption (AutoGrab , False );
817819}
818820
819821static void nxagentToggleAutoGrab (void )
@@ -859,6 +861,7 @@ static void nxagentDisableInputlock(void)
859861 */
860862 setWinNameSuffix (WINDOWSUFFIX_INPUTLOCK , NULL );
861863 updateWinName ();
864+ nxagentChangeOption (InputLock , False );
862865}
863866
864867/* TODO: drop inputlock when switching to Fullscreen */
You can’t perform that action at this time.
0 commit comments