mirror of
https://git.code.sf.net/p/flwm/flwm
synced 2025-12-12 07:16:57 -05:00
Fixes for the cursor under fltk2.0
This commit is contained in:
3
main.C
3
main.C
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user