Commit graph xserver/Xext/shm
Author SHA1 Message Date
Enrico Weigelt, metux IT consult
4d106b1c76 Xext: parentheses around macro argument symbols
For safety, add extra parantheses on each used macro argument.
In most cases not strictly necessary, but better have some strict
and automatically enforcable policy here than wasting time on
judging individual cases.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-25 07:37:12 +02:00
Enrico Weigelt, metux IT consult
931be13ea8 Xext: move some calls with return on error into macros
A frequent pattern inside request handlers looks like this:

   int rc = doSomething(...);
   if (rc != Success) {
       return rc;
   }

Making the code bit shorter & quicker to read my moving this
into a macro like this:

   X_CALL_CHECK_ERR(doSomething(...));

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-24 19:23:43 +02:00
Enrico Weigelt, metux IT consult
876c782094 treewide: clean up includes of misc.h
adding include/ prefix to it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-19 19:24:57 +02:00
Enrico Weigelt, metux IT consult
0aba519567 Xext: move shm extension under it's own subdir
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-18 06:46:27 +02:00