mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
common: move MIN and MAX to common/macros.h
This commit is contained in:
parent
effd80c7f6
commit
a3a64eb9e3
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