Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nxagent: some more Boolean improvements | Ulrich Sibiller | 2021-01-15 | 1 | -2/+2 |
| | |||||
* | nxagent: treat nxagentLastWindowDestroyed as Boolean | Ulrich Sibiller | 2021-01-15 | 1 | -1/+1 |
| | |||||
* | nxagent: treat all Traps as Booleans everywhere | Ulrich Sibiller | 2021-01-15 | 1 | -6/+6 |
| | |||||
* | nxagent: make Desktop, Rootless and Binder options Booleans (again) | Ulrich Sibiller | 2021-01-15 | 1 | -6/+6 |
| | | | | | They have been changed to tri-state variables (1, 0 and UNDEFINED) between nxagent 1.5.0-90 and -93, for no obvious reason. | ||||
* | nxagent: make nxagentOption Shadow a Boolean | Ulrich Sibiller | 2021-01-15 | 1 | -4/+4 |
| | | | | and add the missing init code. | ||||
* | nxagent: treat DesktopResize and nxagentResizeDesktopAtStartup as Booleans | Ulrich Sibiller | 2021-01-15 | 1 | -3/+3 |
| | | | | The already where Booleans but where not using True/False values everywhere | ||||
* | nxagent: make Fullscreen and AllScreens Booleans | Ulrich Sibiller | 2021-01-15 | 1 | -2/+2 |
| | | | | | There's no need/sense in having a tri-state with the third state being UNDEFINED. | ||||
* | Window.c: some more TEST and DEBUG output | Ulrich Sibiller | 2020-10-17 | 1 | -0/+9 |
| | |||||
* | Window.c: simplify setting of isMapped private var | Ulrich Sibiller | 2020-10-17 | 1 | -8/+2 |
| | |||||
* | Window.c: -reportprivatewids reports root window as such | Ulrich Sibiller | 2020-10-17 | 1 | -4/+14 |
| | | | | and not as a "private" window like all others. | ||||
* | Screen.c: improve output of nxagentPrintAgentGeometry | Ulrich Sibiller | 2020-10-17 | 1 | -3/+3 |
| | |||||
* | nxagent: add names to some windows in DEBUG mode | Ulrich Sibiller | 2020-10-17 | 1 | -0/+26 |
| | |||||
* | nxagent: Prevent resize loop | Ulrich Sibiller | 2020-10-17 | 1 | -2/+2 |
| | | | | | | This only happened with certain window managers like mutter. Fixes ArcticaProject/nx-libs#925 | ||||
* | nxagent: move variable definitions from headers to source files | Ulrich Sibiller | 2020-05-07 | 1 | -0/+3 |
| | | | | Fixes ArcticaProject/nx-libs#907 (2/3) | ||||
* | nxagent: Fix double variables | Ulrich Sibiller | 2020-05-07 | 1 | -6/+0 |
| | | | | | | nxagentCorrupted* were defined twice! Fixes ArcticaProject/nx-libs#907 (1/3) | ||||
* | Windows.h, Window.c*: reformat comments | Ulrich Sibiller | 2020-05-07 | 1 | -73/+51 |
| | |||||
* | Window.c: scope improvements | Ulrich Sibiller | 2020-05-07 | 1 | -66/+42 |
| | | | | plus some whitespace improvements | ||||
* | Splash.c: add nxagentHaveSplashWindow helper | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 |
| | |||||
* | Window.c: code simplifications/scope | Ulrich Sibiller | 2020-01-06 | 1 | -11/+5 |
| | |||||
* | Window.c: fix comment | Ulrich Sibiller | 2020-01-06 | 1 | -2/+2 |
| | |||||
* | Window.c: print internal window id as well | Ulrich Sibiller | 2020-01-06 | 1 | -2/+2 |
| | |||||
* | Clipboard.c: rename variables/atoms to better reflect their meaning | Ulrich Sibiller | 2020-01-05 | 1 | -1/+1 |
| | | | | | | | Unfortunately we cannot rename NX_CUT_BUFFER_SERVER, too, without breaking compatibility because this one is used to signal nomachine's nxclient after the splash screen is gone (see Splash.c, Window.c and ArticaProject/nx-libs#838) | ||||
* | Clipboard: make nxagentInitClipboard return a Boolean | Ulrich Sibiller | 2020-01-05 | 1 | -1/+1 |
| | |||||
* | nxagent: Use XlibAtom data type where appropriate | Ulrich Sibiller | 2020-01-05 | 1 | -3/+2 |
| | | | | | | | | XlibAtom should be used wherever remote atoms are handled. This is important as Xlib data types and server data types of the same name do not always have identical sizes. See also https://lists.freedesktop.org/archives/xorg-devel/2015-August/047245.html | ||||
* | NXwindow.c: call InitRootWindow from dix | Ulrich Sibiller | 2019-11-02 | 1 | -0/+4 |
| | |||||
* | nxagent: drop Holder.[ch] | Ulrich Sibiller | 2019-11-02 | 1 | -1/+0 |
| | | | | The only left code was nxagentCheckum() which was not compiling anyway. | ||||
* | Window.c: reactivate disabled debug code | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | |||||
* | Make AutoGrab work in more situations | Ulrich Sibiller | 2019-08-27 | 1 | -1/+10 |
| | | | | | Especially switchin to/from fullscreen with active AutoGrab was problematic. Works much smoother now. | ||||
* | nxagent: drop NXAGENT_SPLASH | Ulrich Sibiller | 2019-08-27 | 1 | -2/+0 |
| | | | | There was only one (commented) section using it. | ||||
* | nxagent: drop nxagentRootTileWindow | Ulrich Sibiller | 2019-08-27 | 1 | -51/+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. | ||||
* | Splash.c: do not wait in nxagent mode | Ulrich Sibiller | 2019-08-27 | 1 | -7/+10 |
| | | | | | | | The splash window is only shown in x2go mode. In nxagent mode the splash window was also shown, but empty (and thus invisible). And the code waited for the splash window to disappear. Fix this by skipping _all_ the splash stuff in nxagent mode. | ||||
* | nxagent: simplify nxagentWaitEvents() | Ulrich Sibiller | 2019-08-27 | 1 | -5/+1 |
| | | | | | no more need to pass down a struct, we now only pass the milliseconds and let the function do the rest. | ||||
* | Window.c: use SAFE_free and SAFE_XFree | Ulrich Sibiller | 2019-08-06 | 1 | -24/+16 |
| | |||||
* | Drop Ipaq support | Ulrich Sibiller | 2019-06-27 | 1 | -6/+0 |
| | | | | Did we ever provide a binary? | ||||
* | Consistently use None instead of 0 for nxagentIconWindow everywhere | Ulrich Sibiller | 2019-06-27 | 1 | -1/+1 |
| | |||||
* | Window.c: rearrange code regarding window decorations sizes | Ulrich Sibiller | 2019-06-27 | 1 | -2/+9 |
| | |||||
* | Window.c: add some comments about fullscreen handling | Ulrich Sibiller | 2019-06-27 | 1 | -0/+12 |
| | |||||
* | Window.c: add missing comment about nxagentConfiguredWindowList | Ulrich Sibiller | 2019-06-19 | 1 | -0/+6 |
| | | | | | was in inital version of 6ce9fb5f2875754f97035d3338b3d0e1d20169ae but got lost during some rebasing/cherry-picking preceeding the pull request. | ||||
* | dix/window.c: fix compiler warning | Ulrich Sibiller | 2019-06-19 | 1 | -10/+8 |
| | | | | | Window.c:3827:46: warning: array subscript 128 is above array bounds of ‘StoringPixmapRec *[128]’ {aka ‘struct <anonymous> *[128]’} [-Warray-bounds] i, (void *) nxagentBSPixmapList[i]); | ||||
* | Window.c: Drop defines CWParent and CWStackingOrder | Ulrich Sibiller | 2019-06-12 | 1 | -14/+14 |
| | | | | | | They were just aliases to already existing defines and were not used stringently. So we had mix of aliased and non-aliased uses which is confusing when trying to understand the code... | ||||
* | Window.c: remove leftover (commented) code | Ulrich Sibiller | 2019-06-12 | 1 | -14/+0 |
| | | | | | | | | | | | This was eventually replaced by nxagentAddConfiguredWindow(pWin, CW_Map) some lines below which is just leading to the same code being executed some time later. (nxagentAddConfiguredWindow() will add a window to a list. nxagentFlushConfiguredWindow() is called at certain points to update all windows in that list in one go. "update" here means calling XConfigureWindow() or XMapWindow() on the real display.) | ||||
* | Window.c/NXmiexpose.c: remove hack for certain WM theme | Ulrich Sibiller | 2019-06-11 | 1 | -19/+0 |
| | | | | | We do not even know what theme this is and it is probably not relevant nowadays. | ||||
* | Window.c: comment on the purpose of some functions | Ulrich Sibiller | 2019-06-11 | 1 | -8/+166 |
| | |||||
* | Revert "nxagent: rework Bool handling" | Ulrich Sibiller | 2019-02-15 | 1 | -20/+20 |
| | | | | | | | | | | | | 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 | -20/+20 |
| | | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps | ||||
* | Window.c: move WM_STATE handling to separate function | Ulrich Sibiller | 2019-01-14 | 1 | -17/+19 |
| | |||||
* | Window.c: use C99 designated initializers at some places | Ulrich Sibiller | 2018-10-27 | 1 | -37/+30 |
| | |||||
* | Window.c: add FIXME | Ulrich Sibiller | 2018-10-27 | 1 | -0/+4 |
| | |||||
* | Window.c: save some lines by declaring loop variables in the loop | Ulrich Sibiller | 2018-10-27 | 1 | -48/+21 |
| | |||||
* | Window.c: indent ifdefs for better readability | Ulrich Sibiller | 2018-10-27 | 1 | -46/+43 |
| |