aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-01-04 18:58:55 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-01-15 19:50:36 +0100
commit1251e8347e60edf54a64d64e2059c35e28bd234a (patch)
treedecd71ea99d0044e463226c69ad38872a1aeef20 /nx-X11
parentc1cae3c66a7ac5b351605111c936342e21578aa4 (diff)
downloadnx-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')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Rootless.c3
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,