changeset 1123:dfbb2dac3b27

use uint32_t for XID (pointed out by corvid)
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sat, 23 May 2009 17:46:19 +0200
parents 60c594957852
children 125b17ba0194
files src/xembed.cc src/xembed.hh
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xembed.cc	Sat May 23 13:06:44 2009 +0200
+++ b/src/xembed.cc	Sat May 23 17:46:19 2009 +0200
@@ -8,7 +8,7 @@
 using namespace fltk;
 // TODO; Implement proper XEMBED support;
 // http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html
-void Xembed::embed (unsigned long xid) {
+void Xembed::embed (uint32_t xid) {
 #if USE_X11
    fltk::Widget *r = resizable();
    // WORKAROUND: Avoid jumping windows with tiling window managers (e.g. dwm)
--- a/src/xembed.hh	Sat May 23 13:06:44 2009 +0200
+++ b/src/xembed.hh	Sat May 23 17:46:19 2009 +0200
@@ -6,7 +6,7 @@
 class Xembed : public fltk::Window {
    public:
       Xembed(int _w, int _h) : fltk::Window(_w, _h) {};
-      void embed(unsigned long xid);
+      void embed(uint32_t xid);
 };
 
 #endif