summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
Commit message (Collapse)AuthorAgeFilesLines
* implementation of TIP 63 (accepted) -compound option to menu items.macosx-8-4-branchpointtmh2001-10-121-2/+4
| | | FossilOrigin-Name: 388b438b4b85a414ad930b3a685c74ce17276df1
* * win/tkWinWm.c (WinSetIcon): fixed SetClassLong for 64bit support.hobbs2001-09-211-3/+19
| | | FossilOrigin-Name: d70929199b482442723a162789ab0d919d2b96d9
* * win/tkWinWm.c (UpdateWrapper): ensured that the passed in winPtrhobbs2001-03-301-4/+11
| | | | | | had an existent window to operate on. [Bug #409172] FossilOrigin-Name: d2ea8b735f54afb98182e2bd5e4a43733c695416
* 2001-01-02 Andreas Kupries <a.kupries@westend.com>andreas_kupries2001-01-021-36/+903
| | | | | | | * win/tkWinWm.c: * doc/wm.n: Applied patch #102833 (TIP #8). FossilOrigin-Name: 7eb3b4c396eea5d311663ddc7eaffb66d6912ac3
* * win/tkWinButton.c:hobbs2000-11-031-2/+23
| | | | | | | | | * win/tkWinDialog.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: fixed up code for Win64 support. This mostly remains in _WIN64 #ifdef's, until updated compilers are standard. FossilOrigin-Name: 5ecc849554894ba1b41dcaac71afd55dbe4c6e9b
* * generic/tkFileFilter.c (AddClause): Cast to match function prototype.mo2000-07-061-3/+1
| | | | | | | | | | | | | | | | | * win/stubs.c (_XInitImageFuncPtrs): Add return value for function. * win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle): Remove unused declarations. * win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused function declarations. * win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration. * win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype. * win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration. * win/tkWinWindow.c (StackWindow): Remove unused declaration. * win/tkWinWm.c (ConfigureEvent): Remove unused declaration. * win/tkWinX.c (winXMutex): Remove unused declaration. * xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype. FossilOrigin-Name: 51f47c0c03aff365cd11fd45c22dc16f8da2f17a
* * win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idlehobbs2000-05-161-46/+6
| | | | | | callback to calling restack and focus code immediately. FossilOrigin-Name: 451102882f0d518cfd9962030473da1f9c1bfd7e
* * win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOWhobbs2000-05-131-2/+3
| | | | | | to flag check to prevent timing related core dump. [Bug: 5438] FossilOrigin-Name: 56864c5526f674d9c1c00b223603cc699de26fff
* * doc/button.n: Added documentation for link relief.ericm2000-05-101-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/button.test: Added tests for link relief for buttons. * generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348] * generic/tk3d.c: Added support for link relief. [RFE: 4348] * mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348] * generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348] * generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348] * win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog). * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303]. FossilOrigin-Name: 4194a8ac77bf8dfeaa5e9522117ac35c829e9897
* * win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so wehobbs2000-04-151-3/+12
| | | | | | | correctly activate native menus when clicking in when we didn't have focus [Bug: 2272] FossilOrigin-Name: f6c1e0a44a4e3eb4302d1c3213495b53a3fcfd68
* * win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibilityhobbs2000-02-261-1/+4
| | | | | | | that the window could be destroyed (can occur with wm deiconify .toplevel; destroy .toplevel). FossilOrigin-Name: e60a421ad77f1d6f1edc40ab21fd480b4be24977
* * win/Makefile.in (install-*): reduced verbosity of installhobbs2000-02-011-12/+8
| | | | | | | | | | | | | | * win/tkWinPixmap.c (XGetGeometry): added support for windows in XGetGeometry [Bug: 4069] * win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with long font names [Bug: 4108] * win/tkWinDialog.c: added EnableWindow calls to dialogs to correct for possible loss of control in parent Tk toplevel [Bug: 1212 et al] FossilOrigin-Name: 97a60a4857c1e41eedeefeffdb0f432156ccce64
* fixed transient window madnesshobbs2000-01-271-16/+45
| | | FossilOrigin-Name: a1fc8d65c78433fa5d89f9e22c85c991d1edf7bc
* fixes transient window crash when transient is destroyed while masterhobbs2000-01-271-6/+15
| | | | | | is iconified/withdrawn FossilOrigin-Name: 4903e2f7e7495d48e289f5ef5f4178820efdab1c
* removed deletehandler for transient master so that they willhobbs2000-01-211-1/+3
| | | | | | always trigger children when made visible FossilOrigin-Name: 0a3070379b24c57165a4e203b39f6e0759d5637b
* * win/tkWinWm.c (TkWmProtocolEventProc): cached atom name as thehobbs2000-01-211-33/+24
| | | | | | window could get destroyed during eval [Bug: 2513] FossilOrigin-Name: aa8ee77f09b31f11a5ebba018aee553a33cc9175
* fixed masterPtr reference problemhobbs2000-01-141-2/+2
| | | FossilOrigin-Name: 295b02e79f3fd8c972c54e08f2adc262dbcea691
* * unix/configure.in:core-8-3-b2hobbs2000-01-141-8/+75
| | | | | | | | | * win/configure.in: updated to patchlevel 8.3b2 * win/tkWinWm.c: added visibility event handler to make sure that transient window wrappers would be updated when the master was initially mapped. FossilOrigin-Name: c7f04d692db48c46f037743213476263dcda0d4c
* * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]hobbs2000-01-121-51/+151
| | | | | | | | | | * win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077], fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338] and fixed mapping of transient window [Bug: 572] Also, for all wm's, extended 'wm state' command to allow setting of the state, and added official support of 'zoomed' state on Win. FossilOrigin-Name: 7b90c5d67202ebdffc3b1373824607e536f635a0
* * win/tkWinCursor.c: added support for Windows cursors tohobbs1999-12-161-1/+12
| | | | | | | | | | | | TkGetCursorByName (.ani, .cur) using -cursor @<filename> (Ascher) [Bug: 1350] * win/tkWinWm.c: fixed 'wm deiconify' to update position of the toplevel if event is waiting before mapping. (Mao) [Bug: 3687] This removes the need for 'update idle' before 'wm deiconify' on Windows. FossilOrigin-Name: e7aa2a517ac9d86186daa5274230776997172f85
* 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-211-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkFont.c: fixed processing of font options and error returned [Bug: 2075] * win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the wrong toplevel, and changed it to not set focus on overridden toplevels 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX version check (readjust from 8-21 fix) and several other config fixes for AIX * mac/tkMacMenubutton.c: * unix/tkUnixMenubu.c: fixed permanently stippled menubutton image * win/tkWinButton.c: fixed possible pointer smash [Bug: 2733] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909] FossilOrigin-Name: 8b23a0f7f176faa57f568a25735ed084b2666a90
* 1999-08-10 Jeff Hobbs <hobbs@scriptics.com>core-8-2-b3-basehobbs1999-08-101-1/+7
| | | | | | | | * win/tkWinWm.c: changed "wm deiconify" on Windows to raise and force the focus on the deiconified window (behavioral change from 8.1 to comply better with Windows style) [Bug: 1609] FossilOrigin-Name: 34dd58bbd57e44100a9a45f4cf5f0e20b8492d33
* Patches from Bug: 2068 2080 2269redman1999-07-011-2/+15
| | | FossilOrigin-Name: 4bec4dc6eedf8f345bec167088cd8c7d76a49829
* * Merged 8.1 branch into the main trunkstanton1999-04-161-145/+211
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Backported "focus -force" patch from 8.1.redman1999-03-101-1/+32
| | | FossilOrigin-Name: ab02cc0aa4e2a2cadf2b5537fca8c1a670d5da78
* * win/tkWinWm.c: Changed so windows that aren't resizable don'tstanton1999-02-041-1/+20
| | | | | | have resize handles and the zoom box is disabled. FossilOrigin-Name: c2bb02583fa57646649b4a73566887d00e06714c
* Add parens around expression in if statement. The code would notrjohnson1998-10-141-2/+3
| | | | | | | compile correctly under some compilers. Also it was not in the Tcl style conventions. FossilOrigin-Name: bc0f8ca3f9ee7133cffc493a63d566a56ba1d921
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Local grabs did not exclude menus or the caption barstanton1998-08-051-1/+96
| | | | | | wm frame would crash if the window had not been mapped yet FossilOrigin-Name: 409eea765f3e24cb9e1f45ec64c173e634d15c6c
* fixed bug in menubar handling so menubar doesn't get destroyed when astanton1998-08-041-0/+7
| | | | | | window is destroyed FossilOrigin-Name: fd244faeb7f04615f966d369932fd0d7d54b8ea3
* Initial revisionrjohnson1998-04-011-0/+4115
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4