Re: server grabs and rubber banding - what to use ?
- From: Owen Taylor <otaylor redhat com>
- To: Paul Barton-Davis <pbd Op Net>
- Cc: gtk-list redhat com
- Subject: Re: server grabs and rubber banding - what to use ?
- Date: 05 Apr 1999 12:35:12 -0400
Paul Barton-Davis <pbd@Op.Net> writes:
> given that there seems to be no interface to XGrabServer, if I want to
> use GDK_XOR to do rubber-banding, how do I grab the server to ensure
> that the redraw does the right thing ?
#include <gdk/gdkx.h>
XGrabServer (GDK_DISPLAY());
[...]
XUngrabServer (GDK_DISPLAY());
gdk_flush(); /* Important !!!! */
Since XGrabServer is low level and extremely X specific, there
isn't too much of a compelling reason to wrap it in GDK.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]