mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
Patch from Greg Hudson to make sure window position is calculated
2005-05-26 Elijah Newren <newren@gmail.com> * src/window.c (meta_window_configure_request): Patch from Greg Hudson to make sure window position is calculated correctly for reconfigure requests when part of the XWindowChanges structure is uninitialized. Fixes #305257.
This commit is contained in:
parent
7b416a0a2d
commit
be49961944
@ -1,3 +1,10 @@
|
||||
2005-05-26 Elijah Newren <newren@gmail.com>
|
||||
|
||||
* src/window.c (meta_window_configure_request): Patch from Greg
|
||||
Hudson to make sure window position is calculated correctly for
|
||||
reconfigure requests when part of the XWindowChanges structure is
|
||||
uninitialized. Fixes #305257.
|
||||
|
||||
2005-05-26 Ray Strode <rstrode@redhat.com>
|
||||
|
||||
Actually commit the stuff mentioned in the last
|
||||
|
@ -4016,7 +4016,8 @@ meta_window_configure_request (MetaWindow *window,
|
||||
* and give windows a border of 0. But we save the
|
||||
* requested border here.
|
||||
*/
|
||||
window->border_width = event->xconfigurerequest.border_width;
|
||||
if (event->xconfigurerequest.value_mask & CWBorderWidth)
|
||||
window->border_width = event->xconfigurerequest.border_width;
|
||||
|
||||
/* We're ignoring the value_mask here, since sizes
|
||||
* not in the mask will be the current window geometry.
|
||||
|
Loading…
Reference in New Issue
Block a user