From 0ad6617df4063ea2b63d6fb99be2d31a7accbe93 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Mon, 3 Sep 2012 13:01:34 +0000 Subject: [PATCH] Removing locks. We need better way to determin if FLTK has compiled in locking support or not. --- ede-notify-daemon/ede-notify-daemon.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ede-notify-daemon/ede-notify-daemon.cpp b/ede-notify-daemon/ede-notify-daemon.cpp index cb43981..c2c6243 100644 --- a/ede-notify-daemon/ede-notify-daemon.cpp +++ b/ede-notify-daemon/ede-notify-daemon.cpp @@ -175,11 +175,11 @@ static void show_window(unsigned int id, px = sw - WINDOWS_PADDING - win->w(); py = sh - WINDOWS_PADDING - win->h(); - Fl::lock(); - /* * iterate through shown windows and find position where to put our one * FIXME: this is quite primitive window position deducing facility + * + * TODO: add locking here */ Fl_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); }