Re: UPDATE_FVWM_SCREEN macro?

2021-11-25 Thread Dominik Vogt
On Thu, Nov 25, 2021 at 10:56:19PM +, Thomas Adam wrote: > On Wed, Nov 24, 2021 at 03:43:47PM +0100, Dominik Vogt wrote: > > Does anybody know why this is a macro and not a function? > > (screen.h) > > Because when I wrote it, it wasn't as complex as it is now. > > See the

Re: UPDATE_FVWM_SCREEN macro?

2021-11-25 Thread Thomas Adam
On Wed, Nov 24, 2021 at 03:43:47PM +0100, Dominik Vogt wrote: > Does anybody know why this is a macro and not a function? > (screen.h) Because when I wrote it, it wasn't as complex as it is now. See the ta/update-fvwm-screen branch, I've converted it to a function instead. Kindly, Thomas

UPDATE_FVWM_SCREEN macro?

2021-11-24 Thread Dominik Vogt
Does anybody know why this is a macro and not a function? (screen.h) #define UPDATE_FVWM_SCREEN(fw) \ do { \ rectangle g;