diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-08-15 22:06:14 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-08-27 08:27:00 +0200 |
commit | e12983a677c84794f5ff34e5b14c3feb78878a9c (patch) | |
tree | 7421ac07b6b0a4b4bf29e7610935f4554e33e983 /nx-X11/programs/Xserver/hw/nxagent/Events.c | |
parent | bfb4e9ac991271e9b4149094f1cc1aaa79987c74 (diff) | |
download | nx-libs-e12983a677c84794f5ff34e5b14c3feb78878a9c.tar.gz nx-libs-e12983a677c84794f5ff34e5b14c3feb78878a9c.tar.bz2 nx-libs-e12983a677c84794f5ff34e5b14c3feb78878a9c.zip |
nxagent: drop nxagentRootTileWindow
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.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c index 0223667c4..553eaccd6 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Events.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c @@ -124,7 +124,6 @@ extern Bool nxagentOnce; extern WindowPtr nxagentRootTileWindow; -extern int nxagentSplashCount; extern int nxagentLastClipboardClient; @@ -2450,20 +2449,6 @@ FIXME: This can be maybe optimized by consuming the } } - if (nxagentRootTileWindow != NULL) - { - if (nxagentWindowPriv(nxagentRootTileWindow) -> window == nxagentWindowPriv(pWin) -> window && - nxagentSplashCount == 1 && X -> xexpose.count == 0) - { - #ifdef DEBUG - fprintf(stderr, "nxagentHandleExposeEvent: Clearing root tile window id [%u].\n", - nxagentWindowPriv(nxagentRootTileWindow) -> window); - #endif - - XClearWindow(nxagentDisplay, nxagentWindowPriv(nxagentRootTileWindow) -> window); - } - } - RegionUninit(&sum); } |