diff options
author | Paulo Zanoni <przanoni@src.gnome.org> | 2007-08-19 05:12:15 +0000 |
---|---|---|
committer | Paulo Zanoni <przanoni@src.gnome.org> | 2007-08-19 05:12:15 +0000 |
commit | b41c8538b6e644bbc3a9fc01d7e008dd2bc3e2f9 (patch) | |
tree | 99a6c339f4db8faa3705692efe501639170478c0 /src/display.h | |
parent | 63ae18084cd580bf2651bc4c4fd152d9c4233ec2 (diff) | |
download | metacity-b41c8538b6e644bbc3a9fc01d7e008dd2bc3e2f9.tar.gz |
- Fixed a memory leak
- Fixed bugs that happened when the number of keyboards was different than the
number of mice
- Fixed a bug with key events
- Changed the way we store paired devices
- More debug info...
- Discovered that reason we're not getting the button events when someone clicks
a window (not window frame). This only happens with applications that have
implicit grabs on the mouse: happens with xterm, doesn't happen with xeyes. It
is not a problem with metacity: it is a "feature" of mpx. Won't be solved for
now...
- Added useless code that will be used in the next commit, when we'll allow
multiple operations at the same time.
svn path=/branches/multiple_pointer_x/; revision=3306
Diffstat (limited to 'src/display.h')
-rw-r--r-- | src/display.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/display.h b/src/display.h index 02c286da..075bdd6e 100644 --- a/src/display.h +++ b/src/display.h @@ -55,16 +55,16 @@ typedef struct MetaCompositor MetaCompositor; /* typedef struct _MetaDisplay MetaDisplay; XXX */ typedef struct _MetaFrame MetaFrame; typedef struct _MetaKeyBinding MetaKeyBinding; -typedef struct _MetaScreen MetaScreen; +//typedef struct _MetaScreen MetaScreen; typedef struct _MetaStack MetaStack; typedef struct _MetaUISlave MetaUISlave; -typedef struct _MetaWindow MetaWindow; +//typedef struct _MetaWindow MetaWindow; typedef struct _MetaWorkspace MetaWorkspace; typedef struct _MetaWindowPropHooks MetaWindowPropHooks; typedef struct _MetaGroupPropHooks MetaGroupPropHooks; -typedef struct MetaEdgeResistanceData MetaEdgeResistanceData; +//typedef struct MetaEdgeResistanceData MetaEdgeResistanceData; typedef void (* MetaWindowPingFunc) (MetaDisplay *display, Window xwindow, @@ -254,7 +254,7 @@ struct _MetaDisplay /* Alt+click button grabs */ unsigned int window_grab_modifiers; - +//#if 0 /* current window operation */ MetaGrabOp grab_op; MetaScreen *grab_screen; @@ -286,6 +286,7 @@ struct _MetaDisplay GList* grab_old_window_stacking; MetaEdgeResistanceData *grab_edge_resistance_data; unsigned int grab_last_user_action_was_snap; +//#endif /* we use property updates as sentinels for certain window focus events * to avoid some race conditions on EnterNotify events |