summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-11-29 15:59:53 +0000
committerManolo Gouy <Manolo>2010-11-29 15:59:53 +0000
commitae0940f4435c8b6bdf007f4953c08d5d76428184 (patch)
treeebd207b9e86a654c5520b2911ca13c65ac173aaa /src
parent3ae28985a81fc16a10564fcb9c0a98d2979d870d (diff)
Removed unused global variables
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index a214dd910..aa0e262e4 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -131,9 +131,8 @@ void *fl_system_menu; // this is really a NSMenu*
Fl_Sys_Menu_Bar *fl_sys_menu_bar = 0;
void *fl_default_cursor; // this is really a NSCursor*
void *fl_capture = 0; // (NSWindow*) we need this to compensate for a missing(?) mouse capture
-char fl_key_vector[32]; // used by Fl::get_key()
bool fl_show_iconic; // true if called from iconize() - shows the next created window in collapsed state
-int fl_disable_transient_for; // secret method of removing TRANSIENT_FOR
+//int fl_disable_transient_for; // secret method of removing TRANSIENT_FOR
Window fl_window;
Fl_Window *Fl_Window::current_;
int fl_mac_os_version = 0; // the version number of the running Mac OS X (e.g., 0x1064 for 10.6.4)
@@ -1937,7 +1936,7 @@ void Fl_X::make(Fl_Window* w)
yp -= by+bt;
}
- if (w->non_modal() && Fl_X::first && !fl_disable_transient_for) {
+ if (w->non_modal() && Fl_X::first /*&& !fl_disable_transient_for*/) {
// find some other window to be "transient for":
Fl_Window* w = Fl_X::first->w;
while (w->parent()) w = w->window(); // todo: this code does not make any sense! (w!=w??)