mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Code refactoring: replaced macro 'ANIMATIONS' by 'USE_ANIMATIONS' for consistency
The usual way to define a macro in is to name macro with 'USE_xxx' when they are used to enable a feature 'xxx'. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
9d9b6d3fcf
commit
6ef010d974
@@ -141,7 +141,7 @@ static void eatExpose(void)
|
||||
|
||||
void move_window(Window win, int from_x, int from_y, int to_x, int to_y)
|
||||
{
|
||||
#ifdef ANIMATIONS
|
||||
#ifdef USE_ANIMATIONS
|
||||
if (wPreferences.no_animations)
|
||||
XMoveWindow(dpy, win, to_x, to_y);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user