mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Removing locks. We need better way to determin if FLTK has compiled in locking support or not.
This commit is contained in:
parent
9eca312821
commit
0ad6617df4
@ -175,11 +175,11 @@ static void show_window(unsigned int id,
|
|||||||
px = sw - WINDOWS_PADDING - win->w();
|
px = sw - WINDOWS_PADDING - win->w();
|
||||||
py = sh - WINDOWS_PADDING - win->h();
|
py = sh - WINDOWS_PADDING - win->h();
|
||||||
|
|
||||||
Fl::lock();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* iterate through shown windows and find position where to put our one
|
* iterate through shown windows and find position where to put our one
|
||||||
* FIXME: this is quite primitive window position deducing facility
|
* FIXME: this is quite primitive window position deducing facility
|
||||||
|
*
|
||||||
|
* TODO: add locking here
|
||||||
*/
|
*/
|
||||||
Fl_Window *wi;
|
Fl_Window *wi;
|
||||||
for(wi = Fl::first_window(); wi; wi = Fl::next_window(wi)) {
|
for(wi = Fl::first_window(); wi; wi = Fl::next_window(wi)) {
|
||||||
@ -193,7 +193,6 @@ static void show_window(unsigned int id,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Fl::unlock();
|
|
||||||
win->position(px, py);
|
win->position(px, py);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user