summaryrefslogtreecommitdiffstats
path: root/remoting/client/x11_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/x11_view.h')
-rw-r--r--remoting/client/x11_view.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/remoting/client/x11_view.h b/remoting/client/x11_view.h
index 1959e18..f6f8a3d 100644
--- a/remoting/client/x11_view.h
+++ b/remoting/client/x11_view.h
@@ -11,6 +11,7 @@
#include "remoting/client/decoder.h"
#include "remoting/client/chromoting_view.h"
+typedef unsigned long XID;
typedef struct _XDisplay Display;
namespace remoting {
@@ -18,7 +19,7 @@ namespace remoting {
// A ChromotingView implemented using X11 and XRender.
class X11View : public ChromotingView {
public:
- X11View(Display* display, int window, int width, int height);
+ X11View(Display* display, XID window, int width, int height);
virtual ~X11View();
@@ -34,13 +35,13 @@ class X11View : public ChromotingView {
void OnDecodeDone();
Display* display_;
- int window_;
+ XID window_;
int width_;
int height_;
// A picture created in the X server that represents drawing area of the
// window.
- int picture_;
+ XID picture_;
scoped_refptr<media::VideoFrame> frame_;
UpdatedRects update_rects_;