Fixes for the cursor under fltk2.0

This commit is contained in:
Bill Spitzak
2005-05-23 05:13:48 +00:00
parent 5c20a23b4c
commit 1ac5675242
3 changed files with 40 additions and 35 deletions

3
main.C
View File

@ -43,10 +43,11 @@ static int xerror_handler(Display* d, XErrorEvent* e) {
class Fl_Root : public Fl_Window {
int handle(int);
public:
Fl_Root() : Fl_Window(0,0,Fl::w(),Fl::h()) {}
Fl_Root() : Fl_Window(0,0,Fl::w(),Fl::h()) {clear_double_buffer();}
void show() {
if (!shown()) Fl_X::set_xid(this, RootWindow(fl_display, fl_screen));
}
void flush() {}
};
Fl_Window *Root;