diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-04 23:11:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-04 23:11:26 +0000 |
| commit | 68cc6e30b8d985d95016668a29aa273a75ce6d44 (patch) | |
| tree | 774a24d8152781c1a8418086339b924790575009 /openbox/screen.c | |
| parent | a865fe603fb9843b2f7d7c4db259fd97dc3915b5 (diff) | |
remove the client_remaximize function, and replace it with the client_reconfigure function, which just calls client_configure with the window's current location and dimensions, user=TRUE and final=TRUE.
add support for the VIDMODE extension in client_configure, namely, fullscreen windows are positioned at the point of the viewport rather than at 0,0.
call client_reconfigure when uniconifying a window, so that fullscreen windows are put at the point of the view port.
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index a1ad36e0..984010bf 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -581,11 +581,11 @@ static void screen_update_area() Client *c = it->data; if (i < screen_num_desktops) { if (c->desktop == i) - client_remaximize(c); + client_reconfigure(c); } else { /* the 'all desktops' size */ if (c->desktop == DESKTOP_ALL) - client_remaximize(c); + client_reconfigure(c); } } } |
