summaryrefslogtreecommitdiff
path: root/src/bell.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-01-24 05:58:30 +0000
committerElijah Newren <newren@src.gnome.org>2005-01-24 05:58:30 +0000
commit2d0d5e8cac5e67d0d9176352bffeaee78c8be602 (patch)
tree1af2a541d73c372adae30d1f48ce2f183cdecf73 /src/bell.c
parent814cc4b6985350b7a83fabc81ff4cefbeebdef50 (diff)
downloadmetacity-2d0d5e8cac5e67d0d9176352bffeaee78c8be602.tar.gz
Restore original stacking when aborting an alt-esc window switch
2005-01-23 Elijah Newren <newren@gmail.com> Restore original stacking when aborting an alt-esc window switch operation. Fixes #123576. * src/display.c: (GRAB_OP_IS_WINDOW_SWITCH): new macro, (meta_display_close): clear grab_old_window_stacking if non-NULL, (event_callback): restore stack positions if alt-esc op cancelled with button press, (meta_display_begin_grab_op): store the old stacking positions, (meta_display_end_grab_op): free the old stack positions * src/display.h: (struct _MetaDisplay): add a grab_old_window_stacking list * src/keybindings.c: (process_tab_grab): restore stack positions if alt-esc op cancelled with an errant key press * src/stack.c: (compare_just_window_stack_position): new GCompareFunc function, (meta_stack_get_positions): get current stack positions, (compare_pointers): new GCompareFunc function, (lists_contain_same_windows): simple utility func to see if two lists contains the same windows, (meta_stack_set_positions): new function to set the positions of all the windows in the stack * src/stack.h: (meta_stack_get_postions, meta_stack_set_positions): new functions
Diffstat (limited to 'src/bell.c')
0 files changed, 0 insertions, 0 deletions