Bugzilla – Attachment 807 Details for
Bug 6116
ThinLinc uses old version of FLTK
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for initial size on macOS
fltk-1.3.4-macos-initial-size.patch (text/plain), 696 bytes, created by
Pierre Ossman
on 2017-05-22 17:06:25 CEST
(
hide
)
Description:
patch for initial size on macOS
Filename:
MIME Type:
Creator:
Pierre Ossman
Created:
2017-05-22 17:06:25 CEST
Size:
696 bytes
patch
obsolete
>Index: src/Fl_cocoa.mm >=================================================================== >--- src/Fl_cocoa.mm (revision 12242) >+++ src/Fl_cocoa.mm (working copy) >@@ -3110,6 +3110,16 @@ > [cw makeKeyAndOrderFront:nil]; > } > >+ if (!w->parent()) { >+ // this may be useful for menu/tooltip windows where no windowDidMove notification is received >+ crect = [[cw contentView] frame]; >+ w->w(int(crect.size.width)); >+ w->h(int(crect.size.height)); >+ crect = [cw frame]; >+ w->x(int(crect.origin.x)); >+ w->y(int(main_screen_height - (crect.origin.y + w->h()))); >+ } >+ > int old_event = Fl::e_number; > w->handle(Fl::e_number = FL_SHOW); > Fl::e_number = old_event;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6116
: 807 |
856