aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-23 17:46:19 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-23 17:46:19 +0200
commitd5062a82800181ecfb252e0e758e5c6f8c0225f2 (patch)
treea49f02e4dc7229c378f55f7cdf5162896f67f665 /src
parent067c27efe6df16749bd6209dcf7b7727ac368b86 (diff)
use uint32_t for XID (pointed out by corvid)
Diffstat (limited to 'src')
-rw-r--r--src/xembed.cc2
-rw-r--r--src/xembed.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xembed.cc b/src/xembed.cc
index e43c27ed..bd3be592 100644
--- a/src/xembed.cc
+++ b/src/xembed.cc
@@ -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)
diff --git a/src/xembed.hh b/src/xembed.hh
index 06bd599c..3819063f 100644
--- a/src/xembed.hh
+++ b/src/xembed.hh
@@ -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