summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2019-10-091-1/+20
|\
| * Fix [a01b6f7227]: WidthMMOfScreen returns 0 in VirtualBox VM using XWayland.jan.nijtmans2019-10-091-1/+20
| | | | | | Actually, this is an XWayland bug, but better work-around it when possible.
* | Merge 8.6jan.nijtmans2019-07-021-1/+1
|\ \ | |/
| * Don't use "struct ThreadSpecificData", while the type name ↵jan.nijtmans2019-07-021-1/+1
| | | | | | | | "ThreadSpecificData" is already sufficient.
* | Merge 8.6jan.nijtmans2019-03-291-0/+6
|\ \ | |/
| * Add calls to TkpInitKeymapInfo() during initialization. Taken from extended ↵jan.nijtmans2019-03-291-0/+6
| | | | | | | | bind patch.
* | Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more.jan.nijtmans2018-12-081-1/+1
| | | | | | Eliminate a ton of unnecessary type casts
* | More code cleanup, related to (unused) wchar_t, TCL_THREADS macro, and ↵jan.nijtmans2018-10-051-1/+1
|/ | | | better use of size_t
* Proposed fix for [7d967c68a09e07e355358af40f36dd5dd84c7022|7d967c68]: Tk ↵jan.nijtmans2016-12-151-0/+46
| | | | applications segmentation fault when ibus-daemon IME is restarted
* Fix [52ca3e7f55]: XkbOpenDisplay macro incorrect when ↵jan.nijtmans2014-02-111-1/+1
|\ | | | | | | HAVE_XKBKEYCODETOKEYSYM is not defined
| * Fix [52ca3e7f55]: XkbOpenDisplay macro incorrect when ↵jan.nijtmans2014-02-111-1/+1
| | | | | | | | HAVE_XKBKEYCODETOKEYSYM is not defined
* | Disable XInitThreads() call until we have a better test for it.jan.nijtmans2013-05-241-1/+2
| |
* | Extra bit of safety. Since we check whether xinitMutex is "still NULL"dgp2013-05-231-1/+1
| | | | | | | | to detect a threads-disabled Tcl, we should be explicitly certain it has an initial value of NULL.
* | Fix for [3613668] by not calling XInitThreads when either 1) Tcl is compiled ↵jan.nijtmans2013-05-231-3/+7
|\ \ | | | | | | | | | | | | without threads 2) X11 library is too old. A more direct test would be more desirable, but for now this should be fine.
| * | Only call XInitThreads() when we have a very new X11 library. Checked by ↵jan.nijtmans2013-05-221-1/+1
|/ / | | | | | | looking whether XKeycodeToKeysym() is deprecated, which also happend in some very new X11 version.
* | Don't work around XkbOpenDisplay's non-const-ness with a macro, when there ↵jan.nijtmans2013-04-081-4/+4
|\ \ | |/ | | | | is only a single call. A type-cast suffices.
| * Don't work around XkbOpenDisplay's non-const-ness with a macro, when there ↵jan.nijtmans2013-04-081-4/+4
| | | | | | | | | | is only a single call. A type-cate suffices. Merge-mark core-8-5-14, just to document that really all changes are merged back.
* | silence compiler warningdgp2013-04-011-1/+1
|\ \ | |/
| * silence compiler warningdgp2013-04-011-1/+1
| |
* | 3607830 Runtime checks that Xkb is available in the X server before trying todgp2013-04-011-1/+32
|\ \ | |/ | | use. Adapted from patch from Brian Griffin.
| * Merge 8.5. Bring together the compile time and run time Xkb checks.dgp2013-04-011-1/+8
| |\
| * | Runtime check for Xkb support in X server.dgp2013-04-011-1/+26
| |/ | | | | Contributed patch from Brian Griffin.
| * Remove useless (void *) casts introduced in checkin [b7a58eae61]. The ↵stwo2012-08-091-1/+1
| | | | | | | | warnings were false flags from a faulty OpenBSD C compiler.
* | Put mutex around XInitThreads call, making sure it is only called once.jan.nijtmans2013-02-251-5/+10
| |
* | Call XInitThreads once before the first Xlib call. Suggested by Brian Griffin.jan.nijtmans2013-02-181-1/+13
| |
* | Remove useless (void *) casts introduced in checkin [81e50c85ed]. The ↵stwo2012-08-091-1/+1
| | | | | | | | warnings were false flags from a faulty OpenBSD C compiler.
* | Fix for bug 3410609; confirmed to work on UK keyboard.dkf2011-10-251-0/+1
|\ \ | |/
| * Tentative fix for bug 3410609 - use the keysym returned by XLookupString in ↵Kevin B Kenny2011-10-011-0/+1
| | | | | | | | preference to the raw one in the XEvent.
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * Fix [Bug 1522467] using fix similar to that used in Tcl recently.dkf2006-12-221-24/+29
| | |
| | * XIM fixes [See #905830, patch tk84-xim-fixes.patch]:jenglish2006-01-201-30/+12
| | | | | | | | | | | | | | | | | | + Revert 2005-12-05 patch disabling XIM when SCIM in use; + Make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window.
| | * remove extraneous consthobbs2005-12-051-2/+2
| | |
| | * Added a workaround for SCIMrmax2005-12-051-2/+23
| | |
| | * * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: dating from 2003-12-21 * generic/tkUtil.c: * generic/tkWindow.c: * mac/tkMacButton.c: * unix/tkUnixEvent.c: * win/tkWin32Dll.c: * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c:
| | * * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mac/tkMacXStubs.c: to being implemented in a platform * macosx/tkMacOSXXStubs.c: specific manner. The cleanup order was * unix/tkUnixEvent.c: bad at least on Windows, where we * win/tkWinX.c: reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
| | * * unix/tkUnixEvent.c (TkpCloseDisplay): Don'tmdejong2003-07-161-10/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | test for XCloseIM bug when the XFree86 version is newer than 4.0 since the layout of the XIM structure has changed. The check is not needed for newer XFree86 releases since the bug we are checking for was fixed in the 4.2.99.2 release. [Bug 755530]
| * | Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵stwo2011-01-061-2/+2
| | | | | | | | | | | | call" compiler warnings.
| * | Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-8/+35
| | |
| * | Oops!dkf2010-01-021-4/+4
| | |
| * | [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.dkf2010-01-011-7/+25
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-1/+1
| | | | | | | | | using useful casts internally.
* | | Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵stwo2011-01-061-2/+2
| | | | | | | | | | | | call" compiler warnings.
* | | Eliminate many unnecessary (ClientData) type casts.nijtmans2010-06-151-4/+4
| | |
* | | [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-061-1/+17
| | | | | | | | | | | | to work on OSX too.
* | | Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-5/+30
| | |
* | | [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.dkf2010-01-011-7/+25
| | |
* | | Fix gcc warning: ignoring return value of ‘strtol’,nijtmans2009-12-161-10/+13
| | | | | | | | | | | | | | | | | | declared with attribute warn_unused_result Fix gcc warning: dereferencing pointer ‘xgePtr’ does break strict-aliasing rules
* | | fix GenericEvent Tcl_Panic errordas2008-10-221-2/+2
| | |