diff options
author | corvid <corvid@lavabit.com> | 2011-01-08 04:23:26 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-01-08 04:23:26 +0000 |
commit | 8f25f501b9bd60cbb0efecf7a2297cb828c0dba7 (patch) | |
tree | e49c06c4413d9c3dec5565a6779afa9f449137b3 /src/xembed.cc | |
parent | b7b692902b798b81a2fd488f11406047be2c721a (diff) |
some xembed
Diffstat (limited to 'src/xembed.cc')
-rw-r--r-- | src/xembed.cc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/xembed.cc b/src/xembed.cc index 49828ffe..45507e64 100644 --- a/src/xembed.cc +++ b/src/xembed.cc @@ -12,10 +12,9 @@ #include <string.h> #include <ctype.h> -#include <fltk/Window.h> -#include <fltk/run.h> -#include <fltk/events.h> -#include <fltk/x.h> +#include <FL/Fl_Window.H> +#include <FL/Fl.H> +#include <FL/x.H> #include "xembed.hh" @@ -74,10 +73,10 @@ Xembed::handle(int e) { if (e == FL_PUSH) sendXembedEvent(XEMBED_REQUEST_FOCUS); - return Window::handle(e); + return Fl_Window::handle(e); } -static int event_handler(int e, fltk::Window *w) { +static int event_handler(int e, Fl_Window *w) { Atom xembed_atom = XInternAtom (fltk::xdisplay, "_XEMBED", false); if (fltk::xevent.type == ClientMessage) { @@ -110,7 +109,7 @@ void Xembed::create() { } void Xembed::createInternal(uint32_t parent) { - fltk::Window *window = this; + Fl_Window *window = this; Colormap colormap = fltk::xcolormap; XSetWindowAttributes attr; @@ -154,12 +153,12 @@ Xembed::sendXembedEvent(uint32_t message) {}; int Xembed::handle(int e) { - return Window::handle(e); + return Fl_Window::handle(e); } void Xembed::create() { - Window::create(); + Fl_Window::create(); } #endif |