| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
determining icon ref (potential crash). [Bug 1105738]
|
| | |
| | |
| | |
| | | |
This caused crash in reinit of Tk (as seen in plugin).
|
| | |
| | |
| | |
| | |
| | |
| | | |
subcommand.
* win/tkWinWm.c (WmAttributesCmd): Fixup broken
option processing logic for attributes subcommand.
|
| | |
| | |
| | |
| | |
| | | |
SetWindowPos when maintaining win Z order, to prevent parent
from flashing (adjusting Z order).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159
* win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ...
* macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix,
* unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X.
* tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly
* win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color
and screen resolution changes. Tested for 16/24/32 bpp changes on
XP. May need more fixes for 8bpp switch, use of special
colormaps, or other special palette handling cases. [Bug 223689]
|
| | |
| | |
| | |
| | | |
defines so that compiling with mingw works again.
|
| | |
| | |
| | |
| | |
| | | |
settings prior to window mapping and resort to more forceful
wrapper update again for -toolwindow (to remove it from taskbar).
|
| | |
| | |
| | |
| | |
| | | |
(WmAttributesCmd): don't call UpdateWrapper for -disabled or
-toolwindow attr changes.
|
| | |
| | |
| | |
| | | |
and round the value.
|
| | |
| | |
| | |
| | |
| | | |
* win/tkWinInt.h: alpha transparency on Win2K/XP+.
* win/tkWinWm.c: TIP #222 [Patch 892194]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/winWm.test: and focus of preexisting window
when replacing the wrapper window.
* win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to
XWithdrawWindow with proper code. (mdejong)
|
| | |
| | |
| | |
| | | |
size for both icons ('?:' order of precedence mistake).
|
| | |
| | |
| | |
| | |
| | |
| | | |
override window has a transient parent, and apply WS_POPUP in the
correct case. The makes splash screens pop up as well as making
dropdowns not grab focus away from the parent.
|
| | |
| | |
| | |
| | | |
clicking outside the grab window hierarchy. [Bug 220908]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(ReadIconFromFile): when using SHGetFileInfo to retrieve icon, get
regular icon as well for correct Alt-Tab icon. (hobbs)
Fix for #742882 "Potential division by zero in gridded wm
geometry" (jenglish)
(UpdateWrapper): Let overrideredirect'ed window's wrapper be the
child of desktop window, thus making it to behave more similarly
to X11 Override Redirect. Esp. useful for combobox-like
megawidgets. (kovalenko)
(InstallColormaps): Check for TK_ALREADY_DEAD to avoid handling of
dead windows. (kovalenko)
Change 'panic' to 'Tcl_Panic' (davygrvy)
|
| | |
| | |
| | |
| | |
| | | |
* win/tkWinInt.h: the -parent window for
* win/tkWinWm.c (TkWinGetIcon): the MessageBox.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The fix for [Bug 2009788] prevented a crash but causes windows to be lost
if their parent is unmapped when [wm forget] is called. Added a test for
this case and ensure that the parent window exists when we remap the
child to its parent.
Reported-by: Koen Danckaert <danckaert@users.sourceforge.net>
Reported-by: Eric Boudaillier <beric@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The fix for [Bug 2009788] prevented a crash but causes windows to be lost
if their parent is unmapped when [wm forget] is called. Added a test for
this case and ensure that the parent window exists when we remap the
child to its parent.
Reported-by: Koen Danckaert <danckaert@users.sourceforge.net>
Reported-by: Eric Boudaillier <beric@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The tkhtml widget doesn't set it's window class. The Windows implementation
of the wm manage command checks to see if the contained window is actually
a menu (looking for torn-off menus) by examining the class. This patch
adds a check for a null class to avoid crashing as suggested.
Suggested-by: Eric Boudaillier <beric@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
| | |
| | |
| | |
| | | |
Just the strcpy->memcpy part, to prevent anything like [Bug #3164879]
|
| | |
| | |
| | |
| | |
| | | |
Fix various gcc warnings, all backported from Tk 8.6
VC6++ does not have SPI_SETKEYBOARDCUES
|
| | |
| | |
| | |
| | | |
2899949]
|
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a fault in some applications that fail to release a grab set on
the main toplevel which were prevented from minimizing on windows
following the changes for bug 1847002.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
bitmaps. (cjmcdonald)
|
| | |
| | |
| | |
| | | |
restrictions via the taskbar on Windows.
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
using useful casts internally.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The tkhtml widget doesn't set it's window class. The Windows implementation
of the wm manage command checks to see if the contained window is actually
a menu (looking for torn-off menus) by examining the class. This patch
adds a check for a null class to avoid crashing as suggested.
Suggested-by: Eric Boudaillier <beric@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
| | | |
|
| | |
| | |
| | |
| | | |
different size
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
yet.
tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make various functions MODULE_SCOPE
TCHAR-related fixes, making al those
files compile fine when TCHAR != char.
|
| | |
| | |
| | |
| | | |
2899949]
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
activation.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This ensures the icon can be drawn properly on various colour depth
surfaces - in particular it fixes a problem with remote desktop and
looks better in the vista task switching overlay. (cjmcdonald)
|
| | |
| | |
| | |
| | |
| | | |
- some internal const decorations
- spacing
|
| | |
| | |
| | |
| | | |
prevents that by handling the keyboard activation message and the system menu commands when grabs are present.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tkBind.c: Updated callers of Tcl_BackgroundError()
* generic/tkCanvas.c: to use the new routine
* generic/tkEntry.c: Tcl_BackgroundException() as appropriate.
* generic/tkImgBmap.c:
* generic/tkListbox.c:
* generic/tkSelect.c:
* generic/tkTextDisp.c:
* generic/tkTextWind.c:
* macosx/tkMacOSXHLEvents.c:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXWindowEvent.c:
* unix/tkUnixScale.c:
* unix/tkUnixWm.c:
* win/tkWinButton.c:
* win/tkWinMenu.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
no need to malloc and copy photo type name because
it is a constant to begin with.
Convert Tcl_SetResult(......, TCL_DYNAMIC) to
Tcl_SetResult(......, TCL_VOLATILE), in preparation
for TIP #340
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
|