调整最大化和全屏窗口大小
This commit is contained in:
@@ -18,16 +18,16 @@ void maximize_client(client_t *c) {
|
||||
monitor_t *m = c->monitor;
|
||||
c->x = m->window_x;
|
||||
c->y = m->window_y;
|
||||
c->width = m->window_width;
|
||||
c->height = m->window_height;
|
||||
c->width = m->window_width - 2 * c->border_width;
|
||||
c->height = m->window_height - 2 * c->border_width;
|
||||
}
|
||||
|
||||
void fullscreen_client(client_t *c) {
|
||||
monitor_t *m = c->monitor;
|
||||
c->x = m->monitor_x;
|
||||
c->y = m->monitor_y;
|
||||
c->width = m->monitor_width;
|
||||
c->height = m->monitor_height;
|
||||
c->width = m->monitor_width - 2 * c->border_width;
|
||||
c->height = m->monitor_height - 2 * c->border_width;
|
||||
}
|
||||
|
||||
void monocle(monitor_t *monitor) {
|
||||
|
||||
Reference in New Issue
Block a user