mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: replace wClient() macro by dixClientForWindow() inline function
Hide internals (drop the need to include windowstr.h), make it typesafe as well as the naming easier to understand. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <dix-config.h>
|
||||
|
||||
#include "dix/dix_priv.h"
|
||||
#include "dix/resource_priv.h"
|
||||
#include "os/osdep.h"
|
||||
|
||||
#include "compint.h"
|
||||
@@ -216,7 +217,7 @@ updateOverlayWindow(ScreenPtr pScreen)
|
||||
/* Let's resize the overlay window. */
|
||||
vlist[0] = w;
|
||||
vlist[1] = h;
|
||||
return ConfigureWindow(pWin, CWWidth | CWHeight, vlist, wClient(pWin));
|
||||
return ConfigureWindow(pWin, CWWidth | CWHeight, vlist, dixClientForWindow(pWin));
|
||||
}
|
||||
|
||||
/* Let's be on the safe side and not assume an overlay window is
|
||||
|
||||
Reference in New Issue
Block a user