steamcompmgr: only consider overlays for input focus
Also prctl subreaper tweaks from smcv
This commit is contained in:
parent
93ab1ada2f
commit
08f41f2046
1 changed files with 2 additions and 2 deletions
|
@ -1502,7 +1502,7 @@ determine_and_apply_focus (Display *dpy, MouseCursor *cursor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( w->inputFocusMode )
|
if ( w->isOverlay && w->inputFocusMode )
|
||||||
{
|
{
|
||||||
inputFocus = w;
|
inputFocus = w;
|
||||||
}
|
}
|
||||||
|
@ -3188,7 +3188,7 @@ steamcompmgr_main (int argc, char **argv)
|
||||||
if ( g_nSubCommandArg != 0 )
|
if ( g_nSubCommandArg != 0 )
|
||||||
{
|
{
|
||||||
// (Don't Lose) The Children
|
// (Don't Lose) The Children
|
||||||
prctl( PR_SET_CHILD_SUBREAPER );
|
prctl( PR_SET_CHILD_SUBREAPER, 1, 0, 0, 0 );
|
||||||
|
|
||||||
std::string strNewPreload;
|
std::string strNewPreload;
|
||||||
char *pchPreloadCopy = nullptr;
|
char *pchPreloadCopy = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue