Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [FIXED] Fixing X11 resizing issue. (Huge X11 quality improvement!!!)
[FIXED] Fixing X11 resizing issue. (Huge X11 quality improvement!!!) [message #40187] Sun, 30 June 2013 13:57 Go to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

The main problem with U++ on X11 is windows resizing quality. When you resize window you can see white square arrtifacts. I have found solution for this issue.

Here is the patch code (CtrlCore/X11Wnd.cpp - Line 488)
Window w = XCreateWindow(Xdisplay, RootWindow(Xdisplay, Xscreenno),
	                         r.left, r.top, r.Width(), r.Height(),
	                         0, CopyFromParent, InputOutput, CopyFromParent,
	                         CWBitGravity|CWSaveUnder|CWOverrideRedirect|
	                         (IsCompositedGui() ? CWBackPixmap : CWBackPixel),
	                         &swa);


What I really changed is one little line of code:

(IsCompositedGui() ? CWBackPixmap : CWBackPixel),


Insted of:

(IsCompositedGui() ? CWBackPixel : CWBackPixmap),


This patch will have huge impact on your experience with ultimate++ on X11, because it eliminates one of the most annoying bug.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 19 July 2013 21:08]

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: Fri Apr 19 03:50:05 CEST 2024

Total time taken to generate the page: 0.04515 seconds