cvsimport
* refs/heads/master: Keep pointer within window on maximize/fullscreen toggle
This commit is contained in:
4
client.c
4
client.c
@@ -336,6 +336,7 @@ client_toggle_fullscreen(struct client_ctx *cc)
|
|||||||
resize:
|
resize:
|
||||||
client_resize(cc, 0);
|
client_resize(cc, 0);
|
||||||
xu_ewmh_set_net_wm_state(cc);
|
xu_ewmh_set_net_wm_state(cc);
|
||||||
|
client_ptr_inbound(cc, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -376,6 +377,7 @@ client_toggle_maximize(struct client_ctx *cc)
|
|||||||
resize:
|
resize:
|
||||||
client_resize(cc, 0);
|
client_resize(cc, 0);
|
||||||
xu_ewmh_set_net_wm_state(cc);
|
xu_ewmh_set_net_wm_state(cc);
|
||||||
|
client_ptr_inbound(cc, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -408,6 +410,7 @@ client_toggle_vmaximize(struct client_ctx *cc)
|
|||||||
resize:
|
resize:
|
||||||
client_resize(cc, 0);
|
client_resize(cc, 0);
|
||||||
xu_ewmh_set_net_wm_state(cc);
|
xu_ewmh_set_net_wm_state(cc);
|
||||||
|
client_ptr_inbound(cc, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -440,6 +443,7 @@ client_toggle_hmaximize(struct client_ctx *cc)
|
|||||||
resize:
|
resize:
|
||||||
client_resize(cc, 0);
|
client_resize(cc, 0);
|
||||||
xu_ewmh_set_net_wm_state(cc);
|
xu_ewmh_set_net_wm_state(cc);
|
||||||
|
client_ptr_inbound(cc, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user