Nux

lp:~sao/nux/cursor-blink

Created by Oliver Sauder and last modified
Get this branch:
bzr branch lp:~sao/nux/cursor-blink
Only Oliver Sauder can upload to this branch. If you are Oliver Sauder please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Oliver Sauder
Project:
Nux
Status:
Merged

Recent revisions

363. By Oliver Sauder

When gaining focus cursor should be at the same position as when we lost focus

362. By Oliver Sauder

Stop cursor when destroying

361. By Oliver Sauder

Hide cursor when losing focus

360. By Oliver Sauder

Correctly remember state of focus

359. By Oliver Sauder

Layout needs to be reset for hiding and showing cursor

358. By Oliver Sauder

Commented out not implemented method

357. By Oliver Sauder

Merged branch cursor-blink from Greggory Hernandez

356. By Daniel van Vugt

Fix an X11 Display leak, causing window leaks and graphics corruption (LP: #769957)

Details:

Fixed an X11 Display leak, which caused Window leaks of the XInputWindows for the Unity panel and launcher. This created graphics corruption each time the Unity plugin restarted (other plugins toggled).

Possibly also fixed other window/resource leaks in nux/unity which were side effects of the same display leak.

Technical notes:

1. The Window objects being leaked are the _window members of XInputWindow used by BaseWindow::m_input_window. While the destructor of XInputWindow does correctly call XDestroyWindow for these, they are still leaked because the DestroyWindow request never reaches the X server. That's because XDestroyWindow only queues the destroy request and does not guarantee it has or will be completed. The display parameter to XDestroyWindow is the display being leaked, and as such never flushes or completes any of its pending requests such as the destroy request.

2. Given technical note #1, it is likely that a simpler workaround for this window leak problem would be to add an XFlush call to the end of XInputWindow::~XInputWindow(). That would be a simpler, more benign and compatible fix for bug 769957, however that would not fix the display leak which is the root cause of the problem. This merge proposal fixes all related leaks by removing the Display leak, which then causes the leaking windows to be destroyed also.

355. By Jay Taoko

* Removed unnecessary assertion in NThreadLocalStorage::RegisterTLS. Fixed returned result.
* Added NThreadLocalStorage::UnRegisterTLS

354. By Jay Taoko

* Object::Dispose() now does the same thing as Object::UnReference()
* Fixed memory leak in UXTheme::Load2DTextureFile
* Mesh Resource manager
    - Fixed mesh Resource manager pipeline
    - See example ProgObjMeshLoader

* Fixed GLSL Shaders in FontRendering.cpp
    - removed global variable USE_ARB_SHADERS and replaced with GraphicsEngine::UsingGLSLCodePath()

* Removing files IniFile.cpp/.h
* Removing files UIColorTheme.cpp/.h

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:nux
This branch contains Public information 
Everyone can see this information.

Subscribers