]> git.mdlowis.com Git - proto/labwc.git/commit
tree-wide: use enum types/constants where appropriate
authorJohn Lindgren <john@jlindgren.net>
Wed, 27 Aug 2025 03:48:05 +0000 (23:48 -0400)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Wed, 27 Aug 2025 16:33:23 +0000 (01:33 +0900)
commit80b28f16c7cf4507e020ed86a28cddda00e5393b
tree791b9d76125051332d65e87c2f963db5eb76f8fb
parentef766d16f03132777b730732ab9a78fe8be9d827
tree-wide: use enum types/constants where appropriate

- add LAB_WINDOW_TYPE_INVALID in place of literal -1
- document more clearly that enum lab_view_criteria is a bitset
- other one-off replacements of integer values/types for consistency

Note: variables of type enum lab_view_criteria are already used
extensively throughout the code to contain combinations of the declared
enum values. I am not introducing any new usage here, just changing the
single uint32_t to be consistent with all the other usages.
include/config/rcxml.h
include/config/types.h
include/osd.h
include/output.h
include/view.h
include/window-rules.h
src/config/rcxml.c
src/img/img-xbm.c
src/input/cursor.c
src/view.c