summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [52ca3e7f55]: XkbOpenDisplay macro incorrect when ↵nijtmans@users.sourceforge.net2014-02-111-1/+1
|\ | | | | | | HAVE_XKBKEYCODETOKEYSYM is not defined
| * Fix [52ca3e7f55]: XkbOpenDisplay macro incorrect when ↵nijtmans@users.sourceforge.net2014-02-111-1/+1
| | | | | | | | HAVE_XKBKEYCODETOKEYSYM is not defined
* | Disable XInitThreads() call until we have a better test for it.nijtmans@users.sourceforge.net2013-05-241-1/+2
| |
* | Extra bit of safety. Since we check whether xinitMutex is "still NULL"dgp@users.sourceforge.net2013-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 ↵nijtmans@users.sourceforge.net2013-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 ↵nijtmans@users.sourceforge.net2013-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 ↵nijtmans@users.sourceforge.net2013-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 ↵nijtmans@users.sourceforge.net2013-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 warningdgp@users.sourceforge.net2013-04-011-1/+1
|\ \ | |/
| * silence compiler warningdgp@users.sourceforge.net2013-04-011-1/+1
| |
* | 3607830 Runtime checks that Xkb is available in the X server before trying todgp@users.sourceforge.net2013-04-011-1/+32
|\ \ | |/ | | use. Adapted from patch from Brian Griffin.
| * Merge 8.5. Bring together the compile time and run time Xkb checks.dgp@users.sourceforge.net2013-04-011-1/+8
| |\
| * | Runtime check for Xkb support in X server.dgp@users.sourceforge.net2013-04-011-1/+26
| |/ | | | | Contributed patch from Brian Griffin.
| * Remove useless (void *) casts introduced in checkin [b7a58eae61]. The ↵stwo@users.sourceforge.net2012-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.nijtmans@users.sourceforge.net2013-02-251-5/+10
| |
* | Call XInitThreads once before the first Xlib call. Suggested by Brian Griffin.nijtmans@users.sourceforge.net2013-02-181-1/+13
| |
* | Remove useless (void *) casts introduced in checkin [81e50c85ed]. The ↵stwo@users.sourceforge.net2012-08-091-1/+1
| | | | | | | | warnings were false flags from a faulty OpenBSD C compiler.
* | Fix for bug 3410609; confirmed to work on UK keyboard.donal.k.fellows@manchester.ac.uk2011-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 Keywordsdgp@users.sourceforge.net2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| | |
| | * Fix [Bug 1522467] using fix similar to that used in Tcl recently.donal.k.fellows@manchester.ac.uk2006-12-221-24/+29
| | |
| | * XIM fixes [See #905830, patch tk84-xim-fixes.patch]:jenglish@flightlab.com2006-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 ↵stwo@users.sourceforge.net2011-01-061-2/+2
| | | | | | | | | | | | call" compiler warnings.
| * | Fix [Bug 1373712] and [Bug 1924761].donal.k.fellows@manchester.ac.uk2010-01-021-8/+35
| | |
| * | Oops!donal.k.fellows@manchester.ac.uk2010-01-021-4/+4
| | |
| * | [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.donal.k.fellows@manchester.ac.uk2010-01-011-7/+25
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedonal.k.fellows@manchester.ac.uk2011-03-121-1/+1
| | | | | | | | | using useful casts internally.
* | | Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵stwo@users.sourceforge.net2011-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 itdonal.k.fellows@manchester.ac.uk2010-01-061-1/+17
| | | | | | | | | | | | to work on OSX too.
* | | Fix [Bug 1373712] and [Bug 1924761].donal.k.fellows@manchester.ac.uk2010-01-021-5/+30
| | |
* | | [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.donal.k.fellows@manchester.ac.uk2010-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
| | |
* | | Greatly clean up Tk's handling of the writability of the Tcl result object.donal.k.fellows@manchester.ac.uk2008-10-051-1/+9
| | |
* | | After some discussion with Joe English and subsequently thegeorgeps2008-08-191-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X.org developers (Keith Packard in particular), it was discovered that Tk is doing management of XIDs that it shouldn't need to do. The very common XC-MISC extension which has come with every version of X for the last 15 years is used with Xlib now, to retrieve the information about the used/unused XIDs. The public Tk_FreeXId is now a no-op. Joe English reviewed the patch, and said "please commit." The patch is associated with the bug tracker id: 2039720 generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted. generic/tkInt.decls: Update the declarations for the now unused internalstubs. generic/tkIntDecls.h: Regenerated based on tkInt.decls. generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls. generic/tkStubInit.c generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId. macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro definitions. macosx/tkMacOSXXStubs.c: Remove the no-op TkpWindowWasRecentlyDeleted. unix/tkUnixEvent.c: Remove call to TkFreeXId. unix/tkUnixXId.c: Remove a lot of unnecessary code (see above). win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId. win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
* | | Get rid of pre-C89-isms (esp. CONST vs const).donal.k.fellows@manchester.ac.uk2008-04-271-2/+2
|/ /
* | XIM reorganization and cleanup; see [Patch 1919791] for details.jenglish@flightlab.com2008-03-261-84/+34
| |
* | merge stable branch onto HEADdgp@users.sourceforge.net2007-12-131-1/+1
| |
* | header cleanupdgp@users.sourceforge.net2007-09-071-2/+1
| |
* | Fix more type pun warnings (those not found by my local version of GCC)donal.k.fellows@manchester.ac.uk2007-05-031-3/+3
| |
* | Quell type-punning warnings from gcc/unix builddonal.k.fellows@manchester.ac.uk2007-01-121-2/+2
| |
* | s/CRLF/LF/ghobbs2007-01-111-704/+704
| |