diff options
author | Havoc Pennington <hp@pobox.com> | 2002-05-29 03:11:24 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-05-29 03:11:24 +0000 |
commit | 0498d55314582293a72c7edf8b33b8f362340456 (patch) | |
tree | 83a78d7d4864e21f17a83b4d8cbb7f92a7837a87 /src/frames.c | |
parent | 4b5eda0b0a6735190de70626d078adf696dae46b (diff) | |
download | metacity-0498d55314582293a72c7edf8b33b8f362340456.tar.gz |
Patch from Erwann Chenede for raise_or_lower keybinding
2002-05-28 Havoc Pennington <hp@pobox.com>
Patch from Erwann Chenede for raise_or_lower keybinding
* src/display.c, src/common.h: POINT_IN_RECT moved to a common
location, removed from here
(meta_rectangle_intersect): move here and make it public
* src/prefs.c: add raise_or_lower keybinding
* src/stack.c (meta_stack_get_below, meta_stack_get_above): add an
arg to only get windows within the same layer
* src/keybindings.c (handle_raise_or_lower): add handling for a
"raise window if obscured, else lower" keybinding
Diffstat (limited to 'src/frames.c')
-rw-r--r-- | src/frames.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/frames.c b/src/frames.c index d699d81f..07c5be8d 100644 --- a/src/frames.c +++ b/src/frames.c @@ -1596,12 +1596,6 @@ control_rect (MetaFrameControl control, return rect; } -#define POINT_IN_RECT(xcoord, ycoord, rect) \ - ((xcoord) >= (rect).x && \ - (xcoord) < ((rect).x + (rect).width) && \ - (ycoord) >= (rect).y && \ - (ycoord) < ((rect).y + (rect).height)) - #define RESIZE_EXTENDS 15 static MetaFrameControl get_control (MetaFrames *frames, |