mirror of
https://github.com/gryf/wmaker.git
synced 2026-04-27 03:11:26 +02:00
- Now when Window Maker calls wmsetbg to set the background, it will pass the
correct switch to it, depending on the value of the DisableDithering option. - Replaced some functions with macros in WINGs (wmkpoint(), wmksize() and wmkrange()). They're less expensive to call this way. - Fixed a memleak in the info panel.
This commit is contained in:
+5
-10
@@ -36,8 +36,12 @@ typedef struct {
|
||||
WMSize size;
|
||||
} WMRect;
|
||||
|
||||
#define wmksize(width, height) (WMSize){(width), (height)}
|
||||
#define wmkpoint(x, y) (WMPoint){(x), (y)}
|
||||
#define wmkrect(pos, size) (WMRect){(pos), (size)}
|
||||
|
||||
|
||||
|
||||
/* WMRange was moved in WUtil.h */
|
||||
|
||||
#define ClientMessageMask (1L<<30)
|
||||
|
||||
@@ -573,15 +577,6 @@ typedef struct W_DragDestinationProcs {
|
||||
|
||||
|
||||
|
||||
/* ...................................................................... */
|
||||
|
||||
|
||||
WMRange wmkrange(int start, int count);
|
||||
|
||||
WMPoint wmkpoint(int x, int y);
|
||||
|
||||
WMSize wmksize(unsigned int width, unsigned int height);
|
||||
|
||||
|
||||
/* ....................................................................... */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user