Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Events.c: drop unused function | Ulrich Sibiller | 2019-09-29 | 1 | -5/+0 |
| | |||||
* | Events.c: add nxagentSwitchEventsAllScreens helper | Ulrich Sibiller | 2019-09-29 | 1 | -35/+19 |
| | |||||
* | Events.c: whitespace fixes | Ulrich Sibiller | 2019-09-29 | 1 | -28/+28 |
| | |||||
* | Events.c: scope improvements | Ulrich Sibiller | 2019-09-29 | 1 | -11/+5 |
| | |||||
* | Events.c: code improvements (mainly scope) | Ulrich Sibiller | 2019-09-29 | 1 | -75/+41 |
| | |||||
* | Events.c: fix wrong size in format specification | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | |||||
* | Events.c: identify internal root window in nxagentInternalWindowInfo | Ulrich Sibiller | 2019-09-29 | 1 | -2/+2 |
| | |||||
* | Events.c: add FIXME | Ulrich Sibiller | 2019-09-29 | 1 | -0/+13 |
| | |||||
* | Events.c: fix wrong returncode interpretation | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | | | | | | | XGetWMName returns non-zero on success The result was that no window names were displayed in DEBUG_TREE remote windows tree output. | ||||
* | Events.c: shorten window tree debugging code | Ulrich Sibiller | 2019-09-29 | 1 | -39/+10 |
| | | | | scope improvements, use fprintf for indentation instead of loops. | ||||
* | Events.c: fix write after buffer end | Ulrich Sibiller | 2019-09-29 | 1 | -3/+1 |
| | |||||
* | Events.c: nxagentInternalWindowInfo is only called with DEBUG_TREE | Ulrich Sibiller | 2019-09-29 | 1 | -2/+0 |
| | | | | so hide it behind that define | ||||
* | Events.c: introduce separate debug level for autograb debugging only | Ulrich Sibiller | 2019-08-27 | 1 | -7/+16 |
| | | | | We should do something similar for all subsystems over time... | ||||
* | Make AutoGrab work in more situations | Ulrich Sibiller | 2019-08-27 | 1 | -1/+1 |
| | | | | | Especially switchin to/from fullscreen with active AutoGrab was problematic. Works much smoother now. | ||||
* | Dialog.c: Add NXTransDialog() call for autograb toggling. | Mike Gabriel | 2019-08-27 | 1 | -0/+2 |
| | |||||
* | Events.c: Autograb only for windowed modes | Ulrich Sibiller | 2019-08-27 | 1 | -2/+1 |
| | | | | This also make re-autograbbing after switch back from AllScreens work. | ||||
* | Events.c: do not ungrab keyboard on LeaveNotify when in autograb mode | Ulrich Sibiller | 2019-08-27 | 1 | -4/+7 |
| | |||||
* | Events.c: improve debugging output for FocusIn/Out | Ulrich Sibiller | 2019-08-27 | 1 | -4/+56 |
| | |||||
* | nxagent: Make autograb an nxagentOption. | Ulrich Sibiller | 2019-08-27 | 1 | -7/+5 |
| | |||||
* | nxagent: Add autograb mode. | Ulrich Sibiller | 2019-08-27 | 1 | -3/+81 |
| | | | | | | | You can now toggle between autograb mode by pressing CTRL-ALT-G (default, can be adjusted in keystrokes.cfg). Fixes ArcticaProject/nx-libs#384. | ||||
* | nxagent: drop nxagentRootTileWindow | Ulrich Sibiller | 2019-08-27 | 1 | -15/+0 |
| | | | | | | | | We either use a solid black or a white background and no backround pixmap. So nxagentRootTileWindow is always empty and we can drop all stuff around it. remove nxagentSplashCount, too, since it is no longer checked anywhere. | ||||
* | nxagent: simplify nxagentWaitEvents() | Ulrich Sibiller | 2019-08-27 | 1 | -21/+22 |
| | | | | | no more need to pass down a struct, we now only pass the milliseconds and let the function do the rest. | ||||
* | Events.c: add more comments and TEST output | Ulrich Sibiller | 2019-08-27 | 1 | -3/+25 |
| | |||||
* | Events.c: refactor nxagentHandleKeypress | Ulrich Sibiller | 2019-08-27 | 1 | -6/+4 |
| | |||||
* | Events.c: safe some lines by calling SAFE_XFree | Ulrich Sibiller | 2019-08-06 | 1 | -28/+7 |
| | |||||
* | drop onscreen keyboard support | Ulrich Sibiller | 2019-06-27 | 1 | -74/+1 |
| | | | | | | | | | With the removal of the Ipaq code there's no path anymore to open the onscreen keyboard. Also nxkbd is not available and we do not have tested that feature with any onscreen keyboard yet. So there's no point in integrating that code. Fixes ArcticaProject/nx-libs#405 | ||||
* | Drop Ipaq support | Ulrich Sibiller | 2019-06-27 | 1 | -5/+0 |
| | | | | Did we ever provide a binary? | ||||
* | various scope improvements | Ulrich Sibiller | 2019-06-19 | 1 | -15/+9 |
| | |||||
* | Events.c: use designated initializer in nxagentDeactivatePointerGrab | Ulrich Sibiller | 2019-06-19 | 1 | -15/+17 |
| | |||||
* | Add nxagentExternalClipboardEventTrap | Ulrich Sibiller | 2019-06-11 | 1 | -0/+12 |
| | |||||
* | Events.c: add debug output | Ulrich Sibiller | 2019-06-11 | 1 | -0/+7 |
| | |||||
* | Revert "nxagent: rework Bool handling" | Ulrich Sibiller | 2019-02-15 | 1 | -49/+49 |
| | | | | | | | | | | | | This reverts commit 16cd2bbe1c4425e3fa557f9ca0723aa94a50b071. It turned out that I had missed some of the Booleans being actually tristate variables. I think I can fix this (they do not need to be tristate) but I revert this for now to get back to a working state (there are reports about non-working fullscreen mode and reconnect problems). Refers to ArcticaProject/nx-libs#772 | ||||
* | nxagent: rework Bool handling | Ulrich Sibiller | 2019-02-11 | 1 | -49/+49 |
| | | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps | ||||
* | Event.c: improve DEBUG output | Ulrich Sibiller | 2018-11-09 | 1 | -3/+15 |
| | |||||
* | Check nxagentXkbInfo.EventBase before use | Ulrich Sibiller | 2018-11-09 | 1 | -1/+7 |
| | |||||
* | Events.c: improve Bool usage | Ulrich Sibiller | 2018-10-22 | 1 | -5/+4 |
| | |||||
* | nxagent: use nxagentWMIsRunning as Bool all over the place | Ulrich Sibiller | 2018-10-22 | 1 | -5/+5 |
| | | | | | | has been used as integer sometimes (technically correct, but not nice) Fixes ArcticaProject/nx-libs#698 | ||||
* | Events.c: drop variable that caused compilation warning | Ulrich Sibiller | 2018-08-22 | 1 | -8/+2 |
| | | | | | | | Fixes this message when compiling with TEST: Events.c:2725:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] message_data = validateString(NameForAtom(x.u.clientMessage.u.l.longs0)); | ||||
* | Events.c: fix wrong printf format specifiers | Ulrich Sibiller | 2018-08-22 | 1 | -4/+4 |
| | |||||
* | Events.c: fix compiler warnings | Ulrich Sibiller | 2018-08-22 | 1 | -3/+3 |
| | | | | format ‘%p’ expects argument of type ‘void *’ | ||||
* | Events.c: mitigate compiler warning | Ulrich Sibiller | 2018-08-22 | 1 | -1/+1 |
| | | | | "ISO C forbids assignment between function pointer and 'void *' [-pedantic]" | ||||
* | refactor nxagentGet(Default)EventMask | Ulrich Sibiller | 2018-08-22 | 1 | -16/+8 |
| | | | | Fixes ArcticaProject/nx-libs#691. | ||||
* | Update Xinerama on XMapEvent | Ulrich Sibiller | 2018-05-24 | 1 | -0/+12 |
| | | | | Fixes ArcticaProject/nx-libs#694 | ||||
* | Events.c: catch intermediate window position changes | Ulrich Sibiller | 2018-05-24 | 1 | -5/+35 |
| | | | | | | | | | | | | | nxagentHandleConfigureNotify() has an optimization that accumulates ConfigureNotify events from the queue to only perform the changes of the last ConfigureNotify event in the queue. But that code used to ignore position changes and only adapt the new window position if the last event happened to contain a position change. This change ensures the latest position change - if any - found in the queue will be applied after the accumulation. Fixes: ArticaProject/nx-libs#688 (second part) | ||||
* | nxagent: remove mmwidth/mmheight from nxagentChangeScreenConfig | Ulrich Sibiller | 2018-05-24 | 1 | -4/+3 |
| | | | | Was 0,0 on every call... | ||||
* | Screen.c/Events.c: fix some comments | Ulrich Sibiller | 2018-05-24 | 1 | -2/+1 |
| | |||||
* | nxagent: use XAllocSizeHints() instead of XSizeHints struct | Ulrich Sibiller | 2018-05-24 | 1 | -25/+12 |
| | | | | | | This is the preferred way. It ensures, that a) the data is zeroed b) a correct size in case xlib is changing the size of the structure in future releases | ||||
* | Screen.c/Events.c: add some FIXMEs | Ulrich Sibiller | 2018-05-24 | 1 | -0/+1 |
| | |||||
* | hw/nxagent: fix spelling errors as reported by codespell | Ulrich Sibiller | 2018-05-24 | 1 | -1/+1 |
| | |||||
* | hw/nxagent/: Use <function>(void) rather than <function>(). | Mike Gabriel | 2018-02-26 | 1 | -9/+9 |
| |