Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Screen.c: fix handling of AllScreens without a running window manager | Ulrich Sibiller | 2021-12-29 | 1 | -0/+1 |
| | | | | | | | | | | | | When used with the old nomachine nxclient (nxclient-3.5.0-9.exe) on Windows for running a desktop session the screen size was wrong (set to 3/4 of the requested size while also activating fullscreen because in that case nomachine's nxwin does not offer a window manager). Fix this by always setting AllScreens to true when there's no window manager, just as it was already done with the FullScreen variable. Fixes: ArcticaProject/nx-libs#1030 | ||||
* | Screen.c, Window.c: use "None" everywhere for FullscreenWindow | Ulrich Sibiller | 2021-10-30 | 1 | -1/+1 |
| | |||||
* | Screen.c: Fix wrong format specifier | Ulrich Sibiller | 2021-10-30 | 1 | -1/+1 |
| | |||||
* | nxagent: make nxagentX2go a Boolean everywhere | Ulrich Sibiller | 2021-06-08 | 1 | -1/+1 |
| | | | | also correct ugly if formatting regarding nxagentX2go | ||||
* | nxagent: treat enableBackingStore as Boolean | Ulrich Sibiller | 2021-06-08 | 1 | -1/+1 |
| | | | | Use TRUE and FALSE like dix does. | ||||
* | nxagent: make X2GO support optional | Ulrich Sibiller | 2021-06-08 | 1 | -0/+5 |
| | |||||
* | Use NXAGENT_ONSTART define at more locations | Ulrich Sibiller | 2021-06-08 | 1 | -0/+1 |
| | | | | | marking all the code that is not really required when not using nomachine's nxclient. | ||||
* | Screen.c: rephrase comment | Ulrich Sibiller | 2021-02-03 | 1 | -2/+2 |
| | |||||
* | Screen.c: Fix fullscreen (onescreen) at startup | Ulrich Sibiller | 2021-02-03 | 1 | -2/+31 |
| | | | | Fixes ArcticaProject/nx-libs#991 | ||||
* | Screen.c: remove superflous code that produces a crash | Ulrich Sibiller | 2021-01-16 | 1 | -6/+0 |
| | | | | Fixes ArcticaProject/nx-libs#987 | ||||
* | Screen.c: clarify that characters are compared | Ulrich Sibiller | 2021-01-16 | 1 | -2/+2 |
| | |||||
* | Screen.c: check for malloc failures | Ulrich Sibiller | 2021-01-15 | 1 | -0/+39 |
| | | | | PVS finding: "V522 There might be dereferencing of a potential null pointer" | ||||
* | nxagent: make full screen mode selectable at startup | Ulrich Sibiller | 2021-01-15 | 1 | -1/+7 |
| | | | | | | | | 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: make nxagentShadowResize a Boolean | Ulrich Sibiller | 2021-01-15 | 1 | -1/+1 |
| | |||||
* | nxagent: make nxagentDoFullgeneration a Boolean | Ulrich Sibiller | 2021-01-15 | 1 | -1/+1 |
| | |||||
* | nxagent: treat all Traps as Booleans everywhere | Ulrich Sibiller | 2021-01-15 | 1 | -8/+8 |
| | |||||
* | nxagent: make Desktop, Rootless and Binder options Booleans (again) | Ulrich Sibiller | 2021-01-15 | 1 | -4/+4 |
| | | | | | 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: treat several nxagentOptions as real Booleans | Ulrich Sibiller | 2021-01-15 | 1 | -2/+2 |
| | | | | | | | Adaptive, Composite, DeviceControl, DeviceControlUserDefined, IgnoreVisibility, InhibitXkb, Nested, Menu, MagicPixel, Persistent, Reset, ResetzKeyboardAtResume, SharedMemory, SharedPixmaps, Streaming, UseDamage, ViewOnly, Xdmcp, Xinerama | ||||
* | 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 | -5/+8 |
| | | | | | There's no need/sense in having a tri-state with the third state being UNDEFINED. | ||||
* | Screen.c: fix indentation in nxagentMaximizeToFullScreen | Ulrich Sibiller | 2020-11-03 | 1 | -37/+37 |
| | |||||
* | Screen.c: some more (cosmetic) changes | Ulrich Sibiller | 2020-10-17 | 1 | -61/+49 |
| | |||||
* | Screen.c: scope improvements | Ulrich Sibiller | 2020-10-17 | 1 | -25/+13 |
| | |||||
* | Screen.c: move attributes/valuemask to inner scopes | Ulrich Sibiller | 2020-10-17 | 1 | -11/+9 |
| | |||||
* | Screen.c: drop unneccessary mask variable | Ulrich Sibiller | 2020-10-17 | 1 | -9/+3 |
| | |||||
* | Screen.c: remove another pointless code block | Ulrich Sibiller | 2020-10-17 | 1 | -10/+0 |
| | | | | | Setting nxagentDefaultWindow[pScreen->myNum] is pointless because it is overwritten in the next code block... | ||||
* | Screen.c: remove code that will have no effect | Ulrich Sibiller | 2020-10-17 | 1 | -5/+0 |
| | | | | | | | setting a value for an attribute in the structure is pointless if you do not set the valuemask accordingly. Adding the missing valuemask code here would also be pointless because the valuemask is set to a fixed value later on. Therefore we can drop this code here. | ||||
* | Screen.c: scope improvement | Ulrich Sibiller | 2020-10-17 | 1 | -1/+2 |
| | |||||
* | Screen.c: cleanup auto dpi handling | Ulrich Sibiller | 2020-10-17 | 1 | -6/+9 |
| | | | | new code is easier to read | ||||
* | Screen.c: simplify nxagentResizeScreen | Ulrich Sibiller | 2020-10-17 | 1 | -12/+13 |
| | |||||
* | Screen.c: improve output of nxagentPrintAgentGeometry | Ulrich Sibiller | 2020-10-17 | 1 | -8/+12 |
| | |||||
* | Screen.c: improve debug output | Ulrich Sibiller | 2020-10-17 | 1 | -13/+29 |
| | |||||
* | nxagent: add names to some windows in DEBUG mode | Ulrich Sibiller | 2020-10-17 | 1 | -6/+45 |
| | |||||
* | nxagent: Prevent resize loop | Ulrich Sibiller | 2020-10-17 | 1 | -6/+15 |
| | | | | | | This only happened with certain window managers like mutter. Fixes ArcticaProject/nx-libs#925 | ||||
* | Screen.c: fix resizing bug with mutter window manager | Ulrich Sibiller | 2020-10-17 | 1 | -1/+1 |
| | | | | | | | Not really sure why I introduced the client check years ago. Grabbed is grabbed, so I don't see a reason implementing it this way. Fixes ArcticaProject/nx-libs#925. | ||||
* | Screen.c: fix missing type in DEBUG mode | Ulrich Sibiller | 2020-05-07 | 1 | -2/+2 |
| | |||||
* | Screen.c: fix wrong debug statement | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 |
| | |||||
* | Screen.h: improve NXAGENT_ARTSD prototype definition | Ulrich Sibiller | 2020-05-07 | 1 | -3/+0 |
| | |||||
* | Screen.c: formatting fixes | Ulrich Sibiller | 2020-05-07 | 1 | -7/+8 |
| | |||||
* | Screen.c: spelling fix | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 |
| | |||||
* | Screen.c: activate fallback to dix blanking | Ulrich Sibiller | 2020-04-07 | 1 | -2/+2 |
| | | | | | | We have no hardware that could blank the screen for us. So let nxagentSaveScreen return False in some situations to let dix do the default action. | ||||
* | Screen.c: document nxagentSaveScreen | Ulrich Sibiller | 2020-04-07 | 1 | -22/+37 |
| | |||||
* | nxagent: re-implement timeout handling | Ulrich Sibiller | 2020-04-07 | 1 | -78/+7 |
| | | | | | | Option -timeout used the screensaver facility. This patch changes that to an own timer that is independent. This effectly means we can drop most of the derived screensaving stuff in a follow-up commit. | ||||
* | nxagent: rename variables that shadow globals | Ulrich Sibiller | 2020-01-25 | 1 | -31/+31 |
| | |||||
* | Screen.c: harmonize size/wmhints code | Ulrich Sibiller | 2020-01-06 | 1 | -21/+11 |
| | |||||
* | nxagent: drop CYGWIN and WIN32 defines | Ulrich Sibiller | 2020-01-06 | 1 | -34/+0 |
| | |||||
* | Screen.c: code simplification/scope | Ulrich Sibiller | 2020-01-06 | 1 | -266/+185 |
| | |||||
* | Screen.c: fix handling of NX_SHADOW atom | Ulrich Sibiller | 2020-01-06 | 1 | -10/+3 |
| | | | | Needs to be an XlibAtom! | ||||
* | Screen.c: drop variable | Ulrich Sibiller | 2020-01-06 | 1 | -7/+3 |
| |