mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 16:14:51 +00:00
Free memory allocated by XIQueryPointer()
https://bugzilla.gnome.org/show_bug.cgi?id=695135
This commit is contained in:

committed by
Florian Müllner

parent
4d437e32e0
commit
98b0a37442
@@ -71,6 +71,7 @@
|
||||
#include <X11/extensions/Xcomposite.h>
|
||||
#include <X11/extensions/Xdamage.h>
|
||||
#include <X11/extensions/Xfixes.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -1674,6 +1675,7 @@ window_focus_on_pointer_rest_callback (gpointer data) {
|
||||
&root_x, &root_y, &x, &y,
|
||||
&buttons, &mods, &group);
|
||||
meta_error_trap_pop (display);
|
||||
free (buttons.mask);
|
||||
|
||||
if (root_x != focus_data->pointer_x ||
|
||||
root_y != focus_data->pointer_y)
|
||||
|
Reference in New Issue
Block a user