aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
Commit message (Collapse)AuthorAgeFilesLines
* Events.c: drop unused functionUlrich Sibiller2019-09-291-5/+0
|
* Events.c: add nxagentSwitchEventsAllScreens helperUlrich Sibiller2019-09-291-35/+19
|
* Events.c: whitespace fixesUlrich Sibiller2019-09-291-28/+28
|
* Events.c: scope improvementsUlrich Sibiller2019-09-291-11/+5
|
* Events.c: code improvements (mainly scope)Ulrich Sibiller2019-09-291-75/+41
|
* Events.c: fix wrong size in format specificationUlrich Sibiller2019-09-291-1/+1
|
* Events.c: identify internal root window in nxagentInternalWindowInfoUlrich Sibiller2019-09-291-2/+2
|
* Events.c: add FIXMEUlrich Sibiller2019-09-291-0/+13
|
* Events.c: fix wrong returncode interpretationUlrich Sibiller2019-09-291-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 codeUlrich Sibiller2019-09-291-39/+10
| | | | scope improvements, use fprintf for indentation instead of loops.
* Events.c: fix write after buffer endUlrich Sibiller2019-09-291-3/+1
|
* Events.c: nxagentInternalWindowInfo is only called with DEBUG_TREEUlrich Sibiller2019-09-291-2/+0
| | | | so hide it behind that define
* Events.c: introduce separate debug level for autograb debugging onlyUlrich Sibiller2019-08-271-7/+16
| | | | We should do something similar for all subsystems over time...
* Make AutoGrab work in more situationsUlrich Sibiller2019-08-271-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 Gabriel2019-08-271-0/+2
|
* Events.c: Autograb only for windowed modesUlrich Sibiller2019-08-271-2/+1
| | | | This also make re-autograbbing after switch back from AllScreens work.
* Events.c: do not ungrab keyboard on LeaveNotify when in autograb modeUlrich Sibiller2019-08-271-4/+7
|
* Events.c: improve debugging output for FocusIn/OutUlrich Sibiller2019-08-271-4/+56
|
* nxagent: Make autograb an nxagentOption.Ulrich Sibiller2019-08-271-7/+5
|
* nxagent: Add autograb mode.Ulrich Sibiller2019-08-271-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 nxagentRootTileWindowUlrich Sibiller2019-08-271-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 Sibiller2019-08-271-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 outputUlrich Sibiller2019-08-271-3/+25
|
* Events.c: refactor nxagentHandleKeypressUlrich Sibiller2019-08-271-6/+4
|
* Events.c: safe some lines by calling SAFE_XFreeUlrich Sibiller2019-08-061-28/+7
|
* drop onscreen keyboard supportUlrich Sibiller2019-06-271-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 supportUlrich Sibiller2019-06-271-5/+0
| | | | Did we ever provide a binary?
* various scope improvementsUlrich Sibiller2019-06-191-15/+9
|
* Events.c: use designated initializer in nxagentDeactivatePointerGrabUlrich Sibiller2019-06-191-15/+17
|
* Add nxagentExternalClipboardEventTrapUlrich Sibiller2019-06-111-0/+12
|
* Events.c: add debug outputUlrich Sibiller2019-06-111-0/+7
|
* Revert "nxagent: rework Bool handling"Ulrich Sibiller2019-02-151-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 handlingUlrich Sibiller2019-02-111-49/+49
| | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps
* Event.c: improve DEBUG outputUlrich Sibiller2018-11-091-3/+15
|
* Check nxagentXkbInfo.EventBase before useUlrich Sibiller2018-11-091-1/+7
|
* Events.c: improve Bool usageUlrich Sibiller2018-10-221-5/+4
|
* nxagent: use nxagentWMIsRunning as Bool all over the placeUlrich Sibiller2018-10-221-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 warningUlrich Sibiller2018-08-221-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 specifiersUlrich Sibiller2018-08-221-4/+4
|
* Events.c: fix compiler warningsUlrich Sibiller2018-08-221-3/+3
| | | | format ‘%p’ expects argument of type ‘void *’
* Events.c: mitigate compiler warningUlrich Sibiller2018-08-221-1/+1
| | | | "ISO C forbids assignment between function pointer and 'void *' [-pedantic]"
* refactor nxagentGet(Default)EventMaskUlrich Sibiller2018-08-221-16/+8
| | | | Fixes ArcticaProject/nx-libs#691.
* Update Xinerama on XMapEventUlrich Sibiller2018-05-241-0/+12
| | | | Fixes ArcticaProject/nx-libs#694
* Events.c: catch intermediate window position changesUlrich Sibiller2018-05-241-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 nxagentChangeScreenConfigUlrich Sibiller2018-05-241-4/+3
| | | | Was 0,0 on every call...
* Screen.c/Events.c: fix some commentsUlrich Sibiller2018-05-241-2/+1
|
* nxagent: use XAllocSizeHints() instead of XSizeHints structUlrich Sibiller2018-05-241-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 FIXMEsUlrich Sibiller2018-05-241-0/+1
|
* hw/nxagent: fix spelling errors as reported by codespellUlrich Sibiller2018-05-241-1/+1
|
* hw/nxagent/: Use <function>(void) rather than <function>().Mike Gabriel2018-02-261-9/+9
|