summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-08-09 15:20:20 -0400
committerKeith Packard <keithp@keithp.com>2010-08-09 21:31:41 -0700
commit3ab6cd31cbdf8095b2948034fce5fb645422d8da (patch)
tree730068f1657fdcfe64d6cb66f37609c69ade5765 /include
parent35c0dbe4b0a6ab790f4271325b8a0b16894daa8b (diff)
fonts: Fix refcounting for asynchronous font operations (#3040)
When doing Xinerama, we'll dispatch font ops across all backend screens. If using a font server (such that some operations can sleep), we'll put the client to sleep once for each screen, but only wake up once, because we're trying to keep track of the sleep count in _each_ screen's closure. Instead, just ask the core whether the client is already asleep. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/closestr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/closestr.h b/include/closestr.h
index 2cd67b1d3..7ca2613e7 100644
--- a/include/closestr.h
+++ b/include/closestr.h
@@ -46,7 +46,6 @@ typedef struct _OFclosure {
short num_fpes;
FontPathElementPtr *fpe_list;
Mask flags;
- Bool slept;
/* XXX -- get these from request buffer instead? */
char *origFontName;
@@ -79,7 +78,6 @@ typedef struct _LFWIclosure {
LFWIstateRec saved;
int savedNumFonts;
Bool haveSaved;
- Bool slept;
char *savedName;
} LFWIclosureRec;
@@ -93,7 +91,6 @@ typedef struct _LFclosure {
LFWIstateRec current;
LFWIstateRec saved;
Bool haveSaved;
- Bool slept;
char *savedName;
int savedNameLen;
} LFclosureRec;
@@ -124,7 +121,6 @@ typedef struct _PTclosure {
int itemSize;
XID did;
int err;
- Bool slept;
} PTclosureRec;
/* ImageText */
@@ -151,6 +147,5 @@ typedef struct _ITclosure {
ImageTextPtr imageText;
int itemSize;
XID did;
- Bool slept;
} ITclosureRec;
#endif /* CLOSESTR_H */