Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nxagent: use nxagentWMPassed as Bool all over the place | Ulrich Sibiller | 2018-10-22 | 1 | -1/+1 |
| | | | | has been used as integer sometimes (technically correct, but not nice) | ||||
* | nxagent: use nxagentWMIsRunning as Bool all over the place | Ulrich Sibiller | 2018-10-22 | 1 | -1/+1 |
| | | | | | | has been used as integer sometimes (technically correct, but not nice) Fixes ArcticaProject/nx-libs#698 | ||||
* | Replace MIN/MAX macros by min/max from misc.h | Ulrich Sibiller | 2018-08-23 | 1 | -8/+9 |
| | | | | We do not need two versions in the code | ||||
* | Fix broken 9a7c0b081fad98bfcfcceff9557781f4b39ec572 | Ulrich Sibiller | 2018-08-22 | 1 | -13/+20 |
| | | | | | | | | | Windowsize was wrong when run with nxagent :<someDisplay>. Basically three changes: - reference sizeHints and wmHints correctly (no &) - do not use uninitialized wmHints - set wmHints Xutf8SetWMProperties() call instead of separate call | ||||
* | refactor nxagentGet(Default)EventMask | Ulrich Sibiller | 2018-08-22 | 1 | -11/+6 |
| | | | | Fixes ArcticaProject/nx-libs#691. | ||||
* | nxagent: Used 'Xutf8SetVMPropertis' instead of 'XSetStandardProperties' + ↵ | Pavel Vaynerman | 2018-08-22 | 1 | -13/+6 |
| | | | | 'Xutf8SetWMProperties' | ||||
* | fix window title encoding (use utf8) for nxagent | Pavel Vaynerman | 2018-08-22 | 1 | -2/+8 |
| | |||||
* | whitespace fixes | Ulrich Sibiller | 2018-05-24 | 1 | -2/+2 |
| | |||||
* | Screen.c: simplify setting of window name/class | Ulrich Sibiller | 2018-05-24 | 1 | -16/+11 |
| | |||||
* | nxagent: remove mmwidth/mmheight from nxagentChangeScreenConfig | Ulrich Sibiller | 2018-05-24 | 1 | -4/+4 |
| | | | | Was 0,0 on every call... | ||||
* | Screen.c/Events.c: fix some comments | Ulrich Sibiller | 2018-05-24 | 1 | -1/+1 |
| | |||||
* | nxagent: use XAllocSizeHints() instead of XSizeHints struct | Ulrich Sibiller | 2018-05-24 | 1 | -72/+116 |
| | | | | | | 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 FIXMEs | Ulrich Sibiller | 2018-05-24 | 1 | -0/+3 |
| | |||||
* | Screen.c: replace XSetWMNormalHints code block by already existing function | Ulrich Sibiller | 2018-05-24 | 1 | -36/+5 |
| | | | | nxagentSetWMNormalHints was slightly adapted therefore | ||||
* | hw/nxagent: fix spelling errors as reported by codespell | Ulrich Sibiller | 2018-05-24 | 1 | -3/+3 |
| | |||||
* | nx-X11/programs/Xserver/hw/nxagent/Screen.c: do not try to set a NULL mode ↵ | Mihai Moldovan | 2018-03-15 | 1 | -5/+5 |
| | | | | | | if the output was disconnected before. Fixes: ArcticaProject/nx-libs#677 | ||||
* | nx-X11/programs/Xserver/hw/nxagent/Screen.c: initialize pointers to NULL to ↵ | Mihai Moldovan | 2018-03-15 | 1 | -1/+1 |
| | | | | avoid referencing random data. | ||||
* | Xserver/hw/nxagent/Screen.c: Drop commented out code. Functionality now ↵ | Mike Gabriel | 2018-03-07 | 1 | -16/+0 |
| | | | | implemented in intersect_bb() function. | ||||
* | hw/nxagent/Screen.c: Cover Xinerama bounding box corner cases. | Mike Gabriel | 2018-03-07 | 1 | -16/+81 |
| | | | | | | | | | | | | | | | | | If the agent window is moved around on screen, it can happen that it is moved into an invisible area of the real Xserver, we calls this "beyond the bounding box". . If the agent window is partially beyond the bounding box, we don't want Xinerama to re-adjust the RandR parameters inside the agent. Near the bounding box, the session shall stay intact. . This means, desktop env wise, the desktop session control elements can be moved (with the agent window) into the invisible areas of the real Xserver and moved out again without RandR events arriving inside the agent session. Fixes ArcticaProject/nx-libs#662. | ||||
* | hw/nxagent/Screen.c: Settle down with 96 DPI as the default resolution, if ↵ | Simon Matter | 2018-03-01 | 1 | -1/+1 |
| | | | | | | nothing better can be detected. Fixes ArcticaProject/nx-libs#668. | ||||
* | nxagent: Auto-detect client-side DPI at session startup. | Simon Matter | 2018-02-27 | 1 | -3/+39 |
| | |||||
* | hw/nxagent/: Use <function>(void) rather than <function>(). | Mike Gabriel | 2018-02-26 | 1 | -2/+2 |
| | |||||
* | Screen.c: Fix wrong function names in TEST output | Ulrich Sibiller | 2018-02-05 | 1 | -1/+1 |
| | |||||
* | hw/nxagent/Screen.c: Additionally check for noRRXineramaExtension set to ↵ | Mike Gabriel | 2018-01-16 | 1 | -1/+1 |
| | | | | | | FALSE before using the nxagentAdjustRandRXinerama() function and providing a Xinerama-like user experience. Fixes ArcticaProject/nx-libs#634. | ||||
* | Screen.c: string handling improvements | Ulrich Sibiller | 2018-01-07 | 1 | -16/+10 |
| | |||||
* | nx-X11/programs/Xserver/hw/nxagent/Screen.c: re-enable normal error/warning ↵ | Mihai Moldovan | 2017-12-24 | 1 | -2/+2 |
| | | | | | | output. Was dropped erroneously in cec31e2f06b29b332ee78cfefeefa7bfa136be75. | ||||
* | nx-X11/programs/Xserver/hw/nxagent/Screen.c: update screen size after ↵ | Mihai Moldovan | 2017-12-24 | 1 | -0/+7 |
| | | | | | | | modifying CRTC modes. This should get rid of the infamous "800x600 screen size" issue reproduced in X2Go whole display setups. | ||||
* | always notify on size changes | Ulrich Sibiller | 2017-12-13 | 1 | -7/+1 |
| | | | | this ensures that randr updates its private structures | ||||
* | re-implement pre-xinerama behaviour | Ulrich Sibiller | 2017-12-13 | 1 | -20/+105 |
| | | | | | If -rrxinerama was specified xrandr handling was broken. Adding/using a custom resolution via xrandr was not working anymore. | ||||
* | simply free() calls | Ulrich Sibiller | 2017-11-21 | 1 | -35/+11 |
| | | | | free() can handle NULL so there's no need to check this ourselves | ||||
* | Report Xlib-side window IDs to session.log in machine readable form. This ↵ | Mike Gabriel | 2017-07-05 | 1 | -4/+14 |
| | | | | feature can be enabled by the cmdline options -reportwids and -reportprivatewids. | ||||
* | hw/nxagent/Pixmap.c et al.: Propagate usage_hint through ↵ | Mike Gabriel | 2017-04-10 | 1 | -1/+1 |
| | | | | nxagentCreatePixmap, as well. | ||||
* | xserver: remove index from CloseScreen (API/ABI breakage) | Dave Airlie | 2017-04-10 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extracted from X.org bulk commit: commit 1f0e8bd5eb1a5539689cfc4f5a6b86b530907ec5 Author: Dave Airlie <airlied@redhat.com> Date: Tue Jun 5 13:22:18 2012 +0100 api: rework the X server driver API to avoid global arrays. This is a squash merge containing all the API changes, as well as the video ABI bump. Its been squashed to make bisection easier. Full patch log below: [...] commit 06729dbbc804a20242e6499f446acb5d94023c3c Author: Dave Airlie <airlied@gmail.com> Date: Tue Apr 10 14:04:59 2012 +0100 xserver: remove index from CloseScreen (API/ABI breakage) This drops the index from the CloseScreen callback, its always been useless really, since the pScreen contains it. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> | ||||
* | nxagent: Use SetNotifyFd to receive events. | Mike Gabriel | 2017-03-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | Inspired by X.org commit: commit 55c2e1a3aa587c58a74066724e11e30b3df267b8 Author: Keith Packard <keithp@keithp.com> Date: Mon Dec 7 15:11:33 2015 -0800 xnest: Use SetNotifyFd to receive events Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com> | ||||
* | Screen.c: clean up superfluous whitespace | Ulrich Sibiller | 2017-02-08 | 1 | -4/+3 |
| | |||||
* | Screen.c: Ensure that an output is unused before destroying it | Ulrich Sibiller | 2017-02-08 | 1 | -14/+28 |
| | | | | Fixes ArcticaProject/nx-libs#293 | ||||
* | Screen.c: more debug output formatting improvements | Ulrich Sibiller | 2016-12-07 | 1 | -8/+8 |
| | |||||
* | Screen.c: fix uninitalized variable | Ulrich Sibiller | 2016-12-07 | 1 | -0/+1 |
| | |||||
* | Screen.c: fix compile warnings in DEBUG mode | Ulrich Sibiller | 2016-12-07 | 1 | -5/+5 |
| | |||||
* | Screen.c: fix formatting | Ulrich Sibiller | 2016-12-07 | 1 | -9/+9 |
| | |||||
* | Screen.c: improve debugging output | Ulrich Sibiller | 2016-12-07 | 1 | -7/+29 |
| | |||||
* | slightly improve rrxinerama debug output | Ulrich Sibiller | 2016-12-03 | 1 | -12/+12 |
| | |||||
* | Fix compilation warnings | Ulrich Sibiller | 2016-12-03 | 1 | -7/+7 |
| | |||||
* | nxcompext: Move code into Xserver subtree, as nxcompext requires Xserver ↵ | Mike Gabriel | 2016-11-15 | 1 | -1/+1 |
| | | | | | | includes at build time. Fixes ArcticaProject/nx-libs#276. | ||||
* | Fix FTBFS with gcc 4.4 | Ulrich Sibiller | 2016-10-01 | 1 | -2/+0 |
| | | | | | | | This fixes ArcticaProject/nx-libs#204. However, this fix does not address the root of the problem, it simply avoids it. We could run into it again... See bugreport for an explanation. | ||||
* | Per-file copyright notices: Update copyright information in file headers ↵ | Mike Gabriel | 2016-07-06 | 1 | -7/+15 |
| | | | | that NoMachine placed there own copyright statement in. | ||||
* | nx-X11/programs/Xserver: Drop {X,x}alloc() macros, use malloc() instead. | Mike Gabriel | 2016-07-02 | 1 | -16/+16 |
| | |||||
* | nx-X11/programs/Xserver: Drop {X,x}free() macros, use free() instead. | Mike Gabriel | 2016-07-02 | 1 | -19/+19 |
| | | | | Fixes ArcticaProject/nx-libs#105 | ||||
* | Screen.c: fix RRGetInfo call | Ulrich Sibiller | 2016-06-25 | 1 | -1/+1 |
| | |||||
* | Xinerama: undef debug/test flags | Ulrich Sibiller | 2016-06-25 | 1 | -4/+4 |
| |