U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [FIXED] Fixing X11 resizing issue. (Huge X11 quality improvement!!!)
Re: [BUG & PATCH] Fixing X11 resizing issue. (Huge X11 quality improvement!!!) [message #40288 is a reply to message #40287] Mon, 15 July 2013 19:32 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1118
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Novo,

Like I said. We need to remove IsCompositedGui() check from XCreateWindow and stay only with CWBackPixmap flag.

The bug in this place is obvious, because smooth resizing works on some machines, but on others it doesn't. So the final code should look like this:

Window w = XCreateWindow(Xdisplay, RootWindow(Xdisplay, Xscreenno),
	                         r.left, r.top, r.Width(), r.Height(),
	                         0, CopyFromParent, InputOutput, CopyFromParent,
	                         CWBitGravity|CWSaveUnder|CWOverrideRedirect|CWBackPixmap,
	                         &swa);


Sincerely,
Klugier


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Scrollbar artifacts on KDE (GTK Backend)
Next Topic: [FIXED] FileSel KDE Port & FileSel MIME types handling improvement & More
Goto Forum:
  


Current Time: Sat May 30 05:30:07 GMT+2 2026

Total time taken to generate the page: 0.01700 seconds