diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-01-04 18:58:55 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-01-15 19:50:36 +0100 |
commit | 1251e8347e60edf54a64d64e2059c35e28bd234a (patch) | |
tree | decd71ea99d0044e463226c69ad38872a1aeef20 /nx-X11/programs/Xserver | |
parent | c1cae3c66a7ac5b351605111c936342e21578aa4 (diff) | |
download | nx-libs-1251e8347e60edf54a64d64e2059c35e28bd234a.tar.gz nx-libs-1251e8347e60edf54a64d64e2059c35e28bd234a.tar.bz2 nx-libs-1251e8347e60edf54a64d64e2059c35e28bd234a.zip |
Rootless.c: prevent PVS error
"V547 Expression 'wmHints.input == 1' is always true."
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Rootless.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c index 3bd0b7c25..9bcd90130 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c @@ -502,7 +502,8 @@ int nxagentExportProperty(WindowPtr pWin, nxagentPropWMHints propHints = { .flags = wmHints.flags, - .input = (wmHints.input == True ? 1 : 0), + /*.input = (wmHints.input == True ? 1 : 0), is always True*/ + .input = 1, .initialState = wmHints.initial_state, .iconPixmap = wmHints.icon_pixmap, .iconWindow = wmHints.icon_window, |