Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | nxagent: Use XlibAtom data type where appropriate | Ulrich Sibiller | 2020-01-05 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | nxagent: drop Holder.[ch] | Ulrich Sibiller | 2019-11-02 | 1 | -1/+0 |
| | | | | The only left code was nxagentCheckum() which was not compiling anyway. | ||||
* | Drop unused placeholder code | Ulrich Sibiller | 2019-11-02 | 1 | -11/+0 |
| | |||||
* | Screen.c: cleanup code a bit | Ulrich Sibiller | 2019-10-10 | 1 | -16/+14 |
| | |||||
* | Screen.c: fix a memleak | Ulrich Sibiller | 2019-10-10 | 1 | -5/+2 |
| | | | | | | | Remove some code that is no longer needed because the code requiring it has been removed some time ago (commit 643e13bf3de6704f634d60342b738e0002f057b9). Fixes a small memleak that turned up after switching to fullscreen once. | ||||
* | nxagent: avoid nested externs | Ulrich Sibiller | 2019-09-29 | 1 | -16/+10 |
| | |||||
* | Screen.c: fix wrong format character | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | |||||
* | Screen.c: fix typo | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | |||||
* | Screen.c: improve readability | Ulrich Sibiller | 2019-09-29 | 1 | -12/+10 |
| | |||||
* | Imakefile: make NXAGENT_RANDR_MODE_PREFIX configurable via macro | Ulrich Sibiller | 2019-09-29 | 1 | -5/+5 |
| | |||||
* | Screen.c: fix typo in TEST output | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | |||||
* | Screen.c: scope improvements | Ulrich Sibiller | 2019-09-29 | 1 | -7/+8 |
| | |||||
* | Screen.c: code cleanup | Ulrich Sibiller | 2019-09-29 | 1 | -235/+201 |
| | | | | no functional change | ||||
* | Screen.c: fix: use bit operator, not logic operator | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | |||||
* | Screen.c: initialize RandR only on startup... | Ulrich Sibiller | 2019-08-27 | 1 | -6/+6 |
| | | | | | | | | ... not on reconnect. After the reconnect RRCloseScreen was called twice which caused a double free. This was introduced with 3b06ad51d91ff2b9442f159cddf34ed03bc2dd35 Fixes ArcticaProject/nx-libs#833 | ||||
* | nxagent: move nxagentWMPassed to Splash.c | Ulrich Sibiller | 2019-08-27 | 1 | -4/+1 |
| | | | | It is only relevant there. | ||||
* | nxagent: rename nxagentWMStart to nxagentReadyAtom | Ulrich Sibiller | 2019-08-27 | 1 | -2/+2 |
| | | | | This better reflects its purpose: Tell listeners we are ready. | ||||
* | Splash.c: move some variables to Splash.c | Ulrich Sibiller | 2019-08-27 | 1 | -2/+0 |
| | | | | They belong there... | ||||
* | Splash.c: nxagentRemoveSplashWindow: drop unused parameter | Ulrich Sibiller | 2019-08-27 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Screen.c: safe some lines by calling SAFE_XFree | Ulrich Sibiller | 2019-08-06 | 1 | -44/+29 |
| | |||||
* | Drop Ipaq support | Ulrich Sibiller | 2019-06-27 | 1 | -32/+5 |
| | | | | Did we ever provide a binary? | ||||
* | Screen.c: use XlibWindow so silence the compiler | Ulrich Sibiller | 2019-06-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | This is a bit weird, I'd expect far more places where the compiler could complain about Window vs Window64... But it does not. Screen.c:306:32: warning: passing argument 3 of ‘XQueryTree’ from incompatible pointer type [-Wincompatible-pointer-types] if (XQueryTree(d, candidate, &root, &parent, &children, &num_children)) ^~~~~ In file included from Screen.c:60: Agent.h:85:25: note: expected ‘Window64 *’ {aka ‘long unsigned int *’} but argument is of type ‘Window *’ {aka ‘unsigned int *’} #define Window Window64 ../../../../exports/include/nx-X11/Xlib.h:3041:5: note: in expansion of macro ‘Window’ Window* /* root_return */, | ||||
* | Consistently use None instead of 0 for nxagentIconWindow everywhere | Ulrich Sibiller | 2019-06-27 | 1 | -1/+1 |
| | |||||
* | Screen.c: simplify nxagentMinimizeFromFullscreen | Ulrich Sibiller | 2019-06-27 | 1 | -6/+9 |
| | |||||
* | nxagentMaximizeToFullScreen: only reparent if necessary | Ulrich Sibiller | 2019-06-27 | 1 | -21/+56 |
| | | | | | | | | This fixes problems with kwin and compiz when using the switch-all-screens keystroke. The fullscreen would appear shortly and then vanish again. Fixes ArcticaProject/nx-libs#458 | ||||
* | Screen.c: add nxagentIsParentOf helper | Ulrich Sibiller | 2019-06-27 | 1 | -0/+22 |
| | |||||
* | Screen.c: fix two more memleaks of visuals | Ulrich Sibiller | 2019-06-22 | 1 | -0/+2 |
| | |||||
* | Screen.c: fix two memleaks | Ulrich Sibiller | 2019-06-22 | 1 | -19/+18 |
| | | | | While at it create and use the freeDepths() helper function. | ||||
* | various scope improvements | Ulrich Sibiller | 2019-06-19 | 1 | -3/+1 |
| | |||||
* | Screen.c: more debug output | Ulrich Sibiller | 2019-06-19 | 1 | -1/+4 |
| |