Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Events.c: improve debugging output | Ulrich Sibiller | 2020-01-06 | 1 | -7/+25 |
| | | | | | | | Extend nxagentHandleClientMessageEvent: better debug messages, suppress warning "Invalid window in ClientMessage" for legal case. I came across this while testing some clipboard stuff. | ||||
* | Events.c: fix format specifiers | Ulrich Sibiller | 2020-01-05 | 1 | -5/+5 |
| | |||||
* | Event.c: use __func__ in fprintf | Ulrich Sibiller | 2020-01-05 | 1 | -170/+144 |
| | |||||
* | Events.c: use designated initializers | Ulrich Sibiller | 2020-01-05 | 1 | -22/+15 |
| | |||||
* | Events.c: Scope improvements/code simplification | Ulrich Sibiller | 2020-01-05 | 1 | -147/+83 |
| | |||||
* | Events.c: reformat switch blocks | Ulrich Sibiller | 2020-01-05 | 1 | -64/+17 |
| | | | | save some lines | ||||
* | Events.c: reformat comments | Ulrich Sibiller | 2020-01-05 | 1 | -148/+109 |
| | | | | save some lines | ||||
* | Clipboard.c: rename nxagentNotifySelection to ↵ | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | | | | | | nxagentHandleSelectionNotifyFromXServer Use a more descriptive name. | ||||
* | Clipboard.c: introduce nxagentFind*Index functions | Ulrich Sibiller | 2019-09-29 | 1 | -6/+1 |
| | | | | | At some places we were using NumCurrentSelections. We replace that by nxagentMaxSelections because they always have the identical value. | ||||
* | 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]" |