forked from bartvdbraak/blender
Tweak here.. tweak there.. and hope that the damn focus bug is fixed now!!
Also check that this bug cause (with some window manager) that blender work really bad, for example change from one area to another with a popup menu open make the view hmhm "blink" (show and unshow the menu when you move the mouse) and when you return the menu is open.. also other things that now work fine.
This commit is contained in:
parent
9b2dec9631
commit
f4d5da91f4
@ -233,11 +233,8 @@ createWindow(
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (window) {
|
if (window) {
|
||||||
|
// Both are now handle in GHOST_WindowX11.cpp
|
||||||
// Install a new protocol for this window - so we can overide
|
// Focus and Delete atoms.
|
||||||
// the default window closure mechanism.
|
|
||||||
|
|
||||||
XSetWMProtocols(m_display, window->getXWindow(), &m_delete_window_atom, 1);
|
|
||||||
|
|
||||||
if (window->getValid()) {
|
if (window->getValid()) {
|
||||||
// Store the pointer to the window
|
// Store the pointer to the window
|
||||||
|
@ -372,7 +372,8 @@ GHOST_WindowX11(
|
|||||||
XDestroyImage( mask_image );
|
XDestroyImage( mask_image );
|
||||||
|
|
||||||
xwmhints->initial_state = NormalState;
|
xwmhints->initial_state = NormalState;
|
||||||
xwmhints->flags = IconPixmapHint|IconMaskHint|StateHint;
|
xwmhints->input= True;
|
||||||
|
xwmhints->flags= InputHint|IconPixmapHint|IconMaskHint|StateHint;
|
||||||
XSetWMHints(display, m_window, xwmhints );
|
XSetWMHints(display, m_window, xwmhints );
|
||||||
XFree(xwmhints);
|
XFree(xwmhints);
|
||||||
// done setting the icon
|
// done setting the icon
|
||||||
|
Loading…
Reference in New Issue
Block a user