]> git.mdlowis.com Git - proto/labwc.git/commit
Remove min/max macros
authorJohan Malm <jgm323@gmail.com>
Fri, 26 Nov 2021 19:16:00 +0000 (19:16 +0000)
committerJohan Malm <jgm323@gmail.com>
Fri, 26 Nov 2021 19:16:00 +0000 (19:16 +0000)
commitbca57213a0562740c695d42c4355a33de7557499
treebe2707231dc73cb13abb89ecd0a7cb6b10543963
parentb7c326ec6f787d43fa42e4617b575f4b58fce217
Remove min/max macros

...and replace with a local MAX macro, because:

- They contain a ({}) construct which is a GNU extension and that's
  against Drew's coding style
- min() is not used anyway
- MAX() clashes with cairo's macro, so best to not add this in labwc.h
include/labwc.h
src/xdg.c
src/xwayland.c