mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-13 08:21:25 -04:00
某些动作排除killing窗口
This commit is contained in:
parent
1ca27307b6
commit
ad5c964019
1 changed files with 3 additions and 3 deletions
6
main.c
6
main.c
|
|
@ -3914,7 +3914,7 @@ setfloating(Client *c, int floating) {
|
||||||
struct wlr_box target_box, backup_box;
|
struct wlr_box target_box, backup_box;
|
||||||
c->isfloating = floating;
|
c->isfloating = floating;
|
||||||
|
|
||||||
if (!c || !c->mon || !client_surface(c)->mapped)
|
if (!c || !c->mon || !client_surface(c)->mapped || c->iskilling)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wlr_scene_node_reparent(&c->scene->node,
|
wlr_scene_node_reparent(&c->scene->node,
|
||||||
|
|
@ -3956,7 +3956,7 @@ setfloating(Client *c, int floating) {
|
||||||
|
|
||||||
void setfakefullscreen(Client *c, int fakefullscreen) {
|
void setfakefullscreen(Client *c, int fakefullscreen) {
|
||||||
struct wlr_box fakefullscreen_box;
|
struct wlr_box fakefullscreen_box;
|
||||||
if (!c || !c->mon || !client_surface(c)->mapped)
|
if (!c || !c->mon || !client_surface(c)->mapped || c->iskilling)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
c->isfakefullscreen = fakefullscreen;
|
c->isfakefullscreen = fakefullscreen;
|
||||||
|
|
@ -4002,7 +4002,7 @@ void setfullscreen(Client *c, int fullscreen) // 用自定义全屏代理自带
|
||||||
{
|
{
|
||||||
c->isfullscreen = fullscreen;
|
c->isfullscreen = fullscreen;
|
||||||
|
|
||||||
if (!c || !c->mon || !client_surface(c)->mapped)
|
if (!c || !c->mon || !client_surface(c)->mapped || c->iskilling)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
client_set_fullscreen(c, fullscreen);
|
client_set_fullscreen(c, fullscreen);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue