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) » [BUG & Patch] TopWindow::CenterRect under X11 may lead to crash!!!
Re: [BUG & Patch] TopWindow::CenterRect under X11 may lead to crash!!! [message #40685 is a reply to message #40679] Mon, 02 September 2013 01:04 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

Thanks for update. The last bug from this branch concerns windows deformation. The recognision algorithm isn't perfect on X11 as you can see. Let's expand our algorithm! Hear is new line (CtrlCore/X11Top.cpp - 242):

if (p.x + sz.cx <= wr.Width() && p.y + sz.cy <= wr.Height()) {


I enclose expanded source file.

P.S.
It is definitely end of improvement to TopWindow::CenterRect method under X11.

Sincerely,
Klugier
  • Attachment: X11Top.cpp
    (Size: 13.38KB, Downloaded 293 times)


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WString0::Free() crashing
Next Topic: Some MSCx66 warnings and fixes
Goto Forum:
  


Current Time: Sun Apr 28 01:26:08 CEST 2024

Total time taken to generate the page: 0.05264 seconds