mirror of
https://github.com/labwc/labwc.git
synced 2026-02-26 01:40:22 -05:00
common: move MIN and MAX to common/macros.h
This commit is contained in:
parent
5cb1d0e83f
commit
048d22d473
5 changed files with 21 additions and 8 deletions
|
|
@ -57,14 +57,6 @@
|
|||
#define XCURSOR_DEFAULT "left_ptr"
|
||||
#define XCURSOR_SIZE 24
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
enum input_mode {
|
||||
LAB_INPUT_STATE_PASSTHROUGH = 0,
|
||||
LAB_INPUT_STATE_MOVE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue