Lines 3110-3115
Link Here
|
3110 |
[cw makeKeyAndOrderFront:nil]; |
3110 |
[cw makeKeyAndOrderFront:nil]; |
3111 |
} |
3111 |
} |
3112 |
|
3112 |
|
|
|
3113 |
if (!w->parent()) { |
3114 |
// this may be useful for menu/tooltip windows where no windowDidMove notification is received |
3115 |
crect = [[cw contentView] frame]; |
3116 |
w->w(int(crect.size.width)); |
3117 |
w->h(int(crect.size.height)); |
3118 |
crect = [cw frame]; |
3119 |
w->x(int(crect.origin.x)); |
3120 |
w->y(int(main_screen_height - (crect.origin.y + w->h()))); |
3121 |
} |
3122 |
|
3113 |
int old_event = Fl::e_number; |
3123 |
int old_event = Fl::e_number; |
3114 |
w->handle(Fl::e_number = FL_SHOW); |
3124 |
w->handle(Fl::e_number = FL_SHOW); |
3115 |
Fl::e_number = old_event; |
3125 |
Fl::e_number = old_event; |