diff options
author | sabetts <sabetts> | 2001-02-11 08:10:27 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-02-11 08:10:27 +0000 |
commit | 83b8ce0334def917dac3d47c21e9a6e389007bd0 (patch) | |
tree | be578b014696e83d77af4c1ebf9d8dcb26b705b1 /src/events.c | |
parent | 69c05c373e8547e47ac523240cf9e6c9acadfc30 (diff) | |
download | ratpoison-83b8ce0334def917dac3d47c21e9a6e389007bd0.zip |
* manage.h (set_state): Added prototype
* manage.c (send_configure): Now sends the window's x,y,width,height
coordinates.
(set_state): Added
* events.c (map_request): Calls set_state when mapping an unmapped
window.
* actions.c (maximize_transient): takes an rp_window as the
argument. Removed code to handle void *data. Incremental resizing
only happens if the maximum size isn't set. Removed actual X
maximization code.
(maximize): Moved meat to maximize_normal().
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events.c b/src/events.c index b95218c..a2edacd 100644 --- a/src/events.c +++ b/src/events.c @@ -119,7 +119,9 @@ map_request (XEvent *ev) } case STATE_MAPPED: PRINT_DEBUG ("Mapped Window\n"); + XMapWindow (dpy, win->w); XMapRaised (dpy, win->w); + set_state (win, NormalState); set_active_window (win); } } |