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 #40292 is a reply to message #40288] Mon, 15 July 2013 21:34 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1431
Registered: December 2006
Ultimate Contributor
klugier wrote on Mon, 15 July 2013 13:32

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


This fixed flickering in configuration 1.

Checked on a home computer with two rotated monitors - no flickering.

Thanks!


Regards,
Novo

[Updated on: Tue, 16 July 2013 04:33]

Report message to a moderator

 
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 11:26:58 GMT+2 2026

Total time taken to generate the page: 0.00538 seconds