Save under on all windows
- From: Wouter van Kleunen <w a p vankleunen student utwente nl>
- To: gtk-devel-list gnome org
- Subject: Save under on all windows
- Date: Tue, 22 Apr 2003 10:42:43 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Apparantly xfree can already do backing store and save under. This patch will
enable it on all input/output windows. X probably has to be started with +bs,
i'm not sure. You can check if backing store is running using xwininfo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+pQCHw4uuzvY55gsRApcSAJ9+iFp97wzYXakW4oDxHRUHkeeQHACZAW1o
m3SIcN+bORoQH7ZPh+RpgW4=
=IL5d
-----END PGP SIGNATURE-----
+++ gdk/x11/gdkwindow-x11.c 22 Apr 2003 08:27:39 -0000
@@ -578,12 +578,15 @@
xattributes.colormap = GDK_COLORMAP_XCOLORMAP (draw_impl->colormap);
xattributes_mask |= CWColormap;
+ xattributes.save_under = True;
+ xattributes.backing_store = Always;
+ xattributes_mask |= CWSaveUnder | CWBackingStore;
+
if (private->window_type == GDK_WINDOW_TEMP)
{
- xattributes.save_under = True;
xattributes.override_redirect = True;
xattributes.cursor = None;
- xattributes_mask |= CWSaveUnder | CWOverrideRedirect;
+ xattributes_mask |= CWOverrideRedirect;
}
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]