~ubuntu-branches/ubuntu/trusty/xorg-server-lts-utopic/trusty-proposed

« back to all changes in this revision

Viewing changes to hw/xnest/Drawable.h

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2015-01-22 10:01:57 UTC
  • Revision ID: package-import@ubuntu.com-20150122100157-3zdz5pof8z66kbmp
Tags: upstream-1.16.0
ImportĀ upstreamĀ versionĀ 1.16.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
Copyright 1993 by Davor Matic
 
4
 
 
5
Permission to use, copy, modify, distribute, and sell this software
 
6
and its documentation for any purpose is hereby granted without fee,
 
7
provided that the above copyright notice appear in all copies and that
 
8
both that copyright notice and this permission notice appear in
 
9
supporting documentation.  Davor Matic makes no representations about
 
10
the suitability of this software for any purpose.  It is provided "as
 
11
is" without express or implied warranty.
 
12
 
 
13
*/
 
14
 
 
15
#ifndef XNESTDRAWABLE_H
 
16
#define XNESTDRAWABLE_H
 
17
 
 
18
#include "XNWindow.h"
 
19
#include "XNPixmap.h"
 
20
 
 
21
#define xnestDrawable(pDrawable) \
 
22
  (WindowDrawable((pDrawable)->type) ?  \
 
23
   xnestWindow((WindowPtr)pDrawable) : \
 
24
   xnestPixmap((PixmapPtr)pDrawable))
 
25
 
 
26
#endif                          /* XNESTDRAWABLE_H */