aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
Commit message (Collapse)AuthorAgeFilesLines
* nxagent: Add keystroke for dumping the current clipboard stateUlrich Sibiller2020-05-311-0/+5
|
* Improve clipboard/xfixes related debug outputUlrich Sibiller2020-05-071-1/+1
|
* Clipboard.c: rename some exported functionsUlrich Sibiller2020-05-071-2/+2
| | | | to make them all fit in the same naming scheme that better describes their purpose.
* nxagent: make all traps BooleansUlrich Sibiller2020-05-071-18/+18
| | | | and use True/False instead of 1/0
* Events.c: simplify nxagentInternalWindowsTreeUlrich Sibiller2020-05-071-6/+2
|
* Events.c: Whitespace fixUlrich Sibiller2020-05-071-1/+1
|
* nxagent: rename variables that shadow globalsUlrich Sibiller2020-01-251-5/+5
|
* Events.c: fix capslock weirdness (re-add lost code)Ulrich Sibiller2020-01-251-0/+1
| | | | | | This was removed by mistake in 39866f5c133230e5731156c2356c8571c971534c. Fixes ArcticaProject/nx-libs#904
* Events.c: fix two shadowed variablesUlrich Sibiller2020-01-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Events.c: In function ‘nxagentDispatchEvents’: Events.c:1241:21: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local] ScreenPtr pScreen = nxagentScreen(X.xbutton.window); ^~~~~~~ Events.c:827:13: note: shadowed declaration is here ScreenPtr pScreen = NULL; ^~~~~~~ Events.c:1383:19: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local] ScreenPtr pScreen = nxagentScreen(X.xmotion.window); ^~~~~~~ Events.c:827:13: note: shadowed declaration is here ScreenPtr pScreen = NULL; ^~~~~~~ Events.c: In function ‘nxagentDispatchEvents’: Events.c:1383:19: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local] ScreenPtr pScreen = nxagentScreen(X.xmotion.window); ^~~~~~~ Events.c:827:13: note: shadowed declaration is here ScreenPtr pScreen = NULL; ^~~~~~~
* Events.c: pass a Boolean to nxagentSwitchFullscreenUlrich Sibiller2020-01-061-1/+1
|
* Events.c: improve debugging outputUlrich Sibiller2020-01-061-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 specifiersUlrich Sibiller2020-01-051-5/+5
|
* Event.c: use __func__ in fprintfUlrich Sibiller2020-01-051-170/+144
|
* Events.c: use designated initializersUlrich Sibiller2020-01-051-22/+15
|
* Events.c: Scope improvements/code simplificationUlrich Sibiller2020-01-051-147/+83
|
* Events.c: reformat switch blocksUlrich Sibiller2020-01-051-64/+17
| | | | save some lines
* Events.c: reformat commentsUlrich Sibiller2020-01-051-148/+109
| | | | save some lines
* Clipboard.c: rename nxagentNotifySelection to ↵Ulrich Sibiller2019-09-291-1/+1
| | | | | | nxagentHandleSelectionNotifyFromXServer Use a more descriptive name.
* Clipboard.c: introduce nxagentFind*Index functionsUlrich Sibiller2019-09-291-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 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
|