mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
restore a comment and add another for clarity.
This commit is contained in:
parent
44d8b1d3ac
commit
d85b3adc0c
6
client.c
6
client.c
@ -300,7 +300,10 @@ client_maximize(struct client_ctx *cc)
|
||||
|
||||
if (HasXinerama) {
|
||||
XineramaScreenInfo *xine;
|
||||
/* * that's probably more fair than if just the origin of * a window is poking over a boundary
|
||||
/*
|
||||
* pick screen that the middle of the window is on.
|
||||
* that's probably more fair than if just the origin of
|
||||
* a window is poking over a boundary
|
||||
*/
|
||||
xine = screen_find_xinerama(sc,
|
||||
cc->geom.x + cc->geom.width / 2,
|
||||
@ -394,6 +397,7 @@ client_horizmaximize(struct client_ctx *cc)
|
||||
cc->savegeom.x = cc->geom.x;
|
||||
cc->savegeom.width = cc->geom.width;
|
||||
|
||||
/* if this will make us fully maximized then remove boundary */
|
||||
if ((cc->flags & CLIENT_MAXFLAGS) == CLIENT_VMAXIMIZED) {
|
||||
cc->geom.height += cc->bwidth * 2;
|
||||
cc->bwidth = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user