Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Screen.c, Window.c: use "None" everywhere for FullscreenWindow | Ulrich Sibiller | 2021-10-30 | 1 | -1/+1 |
| | |||||
* | nxagent: drop NXAGENT_SHAPE2 define | Ulrich Sibiller | 2021-06-08 | 1 | -24/+10 |
| | | | | | it was the default for years now, so let's drop the define and include the code unconditonally. | ||||
* | nxagent: drop NXAGENT_SHAPE define | Ulrich Sibiller | 2021-06-08 | 1 | -15/+5 |
| | | | | | was never used in the past years, we were always compiling with -DNXAGENT_SHAPE2 | ||||
* | Use NXAGENT_ONSTART define at more locations | Ulrich Sibiller | 2021-06-08 | 1 | -0/+2 |
| | | | | | marking all the code that is not really required when not using nomachine's nxclient. | ||||
* | Window.c: add another FIXME | Ulrich Sibiller | 2021-02-03 | 1 | -0/+5 |
| | |||||
* | Window.c: Fix 32bit code path | Ulrich Sibiller | 2021-01-30 | 1 | -10/+10 |
| | | | | | | | | make it compile again Thanks to Simon Matter for reporting this and the patch. Fixes ArcticaProject/nx-libs#993 | ||||
* | nxagent: drop unused nxagentVisibility variables | Ulrich Sibiller | 2021-01-30 | 1 | -2/+0 |
| | |||||
* | Window.c: suppress warning | Ulrich Sibiller | 2021-01-16 | 1 | -1/+1 |
| | | | | | | | | This used to be printed only in TEST mode. Some while ago I had changed that to WARNING (because it is a warning...). However, this happens e.g. when running the xscreensaver vfeedback module and it does not look like it is a problem at all. So let's suppress this warning again and leave it to the TEST mode as it used to be. | ||||
* | fix formatting and spelling in various files | Ulrich Sibiller | 2021-01-16 | 1 | -1/+1 |
| | |||||
* | nxagent: Drop unused nxagentRootTileWindow | Ulrich Sibiller | 2021-01-16 | 1 | -2/+0 |
| | |||||
* | Window.c: check for malloc failure | Ulrich Sibiller | 2021-01-15 | 1 | -13/+22 |
| | | | | PVS finding: "V522 There might be dereferencing of a potential null pointer 'props'" | ||||
* | Window.c: check for malloc failure | Ulrich Sibiller | 2021-01-15 | 1 | -0/+8 |
| | | | | PVS finding: "V522 There might be dereferencing of a potential null pointer 'nxagentConfiguredWindowList'." | ||||
* | nxagent: make full screen mode selectable at startup | Ulrich Sibiller | 2021-01-15 | 1 | -1/+1 |
| | | | | | | | | fullscreen= now accepts the new value "2" for a fullscreen covering only one screen. -geometry and geometry= now know additional keywords "allscreens" and "onescreen". Fixes ArcticaProject/nx-libs#923 | ||||
* | nxagent: handle RegionNil macro as Boolean | Ulrich Sibiller | 2021-01-15 | 1 | -1/+1 |
| | | | | just as the rest of the Xserver is alsow doing | ||||
* | nxagent: rework some Boolean checks | Ulrich Sibiller | 2021-01-15 | 1 | -1/+1 |
| | | | | | nxagentWindowTopLevel() and nxagentNeedConnectionChange() return Boolean nxagentPixmapIsVirtual() and nxagentIsShmPixmap(), too. | ||||
* | 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 |
| |