xserver/Xext/namespace
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Enrico Weigelt, metux IT consult 749ac68011 xext: namespace: fix printf format string
../Xext/namespace/hook-init-rootwindow.c: In function ‘hookInitRootWindow’:
../Xext/namespace/hook-init-rootwindow.c:38:21: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘XID’ {aka ‘long unsigned int’} [-Wformat=]
   38 |             XNS_LOG("<%s> actual root 0x%0" PRIx32 "\n", walk->name, walk->rootWindow->drawable.id);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                |
      |                                                                                                XID {aka long unsigned int}
../Xext/namespace/namespace.h:71:50: note: in definition of macro ‘XNS_LOG’
   71 | #define XNS_LOG(...) do { printf("XNS "); printf(__VA_ARGS__); } while (0)
      |                                                  ^~~~~~~~~~~
../Xext/namespace/hook-init-rootwindow.c:38:43: note: format string is defined here
   38 |             XNS_LOG("<%s> actual root 0x%0" PRIx32 "\n", walk->name, walk->rootWindow->drawable.id);
      |                                         ~~^
      |                                           |
      |                                           unsigned int
      |                                         %0lx
../Xext/namespace/hook-init-rootwindow.c:70:17: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘XID’ {aka ‘long unsigned int’} [-Wformat=]
   70 |         XNS_LOG("<%s> virtual root 0x%0" PRIx32 "\n", walk->name, walk->rootWindow->drawable.id);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                             |
      |                                                                                             XID {aka long unsigned int}
../Xext/namespace/namespace.h:71:50: note: in definition of macro ‘XNS_LOG’
   71 | #define XNS_LOG(...) do { printf("XNS "); printf(__VA_ARGS__); } while (0)
      |                                                  ^~~~~~~~~~~
../Xext/namespace/hook-init-rootwindow.c:70:40: note: format string is defined here
   70 |         XNS_LOG("<%s> virtual root 0x%0" PRIx32 "\n", walk->name, walk->rootWindow->drawable.id);
      |                                      ~~^
      |                                        |
      |                                        unsigned int
      |                                      %0lx

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-11 15:04:42 +01:00
..
config.c namespace: fix naming in examples, errors and comments 2025-08-13 11:49:21 +02:00
hook-client.c Xnamespace: filter access on other clients 2025-06-12 17:21:48 +02:00
hook-clientstate.c Xext: namespace: fix NULL derefence on client close 2025-09-26 16:49:51 +02:00
hook-device.c Xnamespace: whitelist some XI operations 2025-06-12 17:21:48 +02:00
hook-ext-access.c Xnamespace: filter extension access 2025-06-12 17:21:48 +02:00
hook-ext-dispatch.c Xnamespace: whitelist some XI operations 2025-06-12 17:21:48 +02:00
hook-init-rootwindow.c xext: namespace: fix printf format string 2025-12-11 15:04:42 +01:00
hook-property.c Xnamespace: property access hook 2025-06-12 17:21:48 +02:00
hook-receive.c Xnamespace: filter raw mouse motion and keyboard access 2025-06-12 17:21:48 +02:00
hook-resource.c namespace: hook-resource: fix printf formats 2025-12-10 12:47:50 +01:00
hook-selection.c Xnamespace: add selection isolation 2025-06-12 17:21:48 +02:00
hook-send.c Xnamespace: filter client-to-client message sending 2025-06-12 17:21:48 +02:00
hook-server.c Xnamespace: filter server access 2025-06-12 17:21:48 +02:00
hook-windowproperty.c xext: namespace: fix printf format string 2025-12-11 15:04:42 +01:00
hooks.h Xext: namespace: fix NULL derefence on client close 2025-09-26 16:49:51 +02:00
meson.build treewide: remove "lib" prefix in static_library names (meson) 2025-07-03 12:01:52 +02:00
namespace.c Xext: namespace: fix NULL derefence on client close 2025-09-26 16:49:51 +02:00
namespace.h Xnamespace: fix wrong const char* authProto 2025-08-05 14:13:14 +02:00
ns.conf.example namespace: fix naming in examples, errors and comments 2025-08-13 11:49:21 +02:00