diff options
| author | aura <nw@moneybot.cc> | 2026-10-02 00:29:58 +0200 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-10-02 00:29:58 +0200 |
| commit | fc25ef5568291528f6e1c3463b3b142139eb8e8d (patch) | |
| tree | f8df598fb171bf30c0939244372c487d0e017961 /openbox/client.c | |
| parent | 87e8271068ea3bccf1daf4e7e4b3667379c054bf (diff) | |
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c index 85aaf6e4..d3bef6c7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -20,6 +20,7 @@ #include "client.h" #include "debug.h" #include "startupnotify.h" +#include "tiling.h" #include "dock.h" #include "screen.h" #include "moveresize.h" @@ -608,6 +609,7 @@ void client_unmanage(ObClient *self) mouse_grab_for_client(self, FALSE); self->managed = FALSE; + tiling_forget(self); /* remove the window from our save set, unless we are managing an internal ObPrompt window */ @@ -2132,6 +2134,12 @@ void client_update_title(ObClient *self) g_free(data); } + if (tiling_key(self)) { + data = visible; + visible = g_strdup_printf("[F%u] %s", tiling_key(self), data); + g_free(data); + } + OBT_PROP_SETS(self->window, NET_WM_VISIBLE_NAME, visible); self->title = visible; @@ -2557,6 +2565,7 @@ static void client_change_state(ObClient *self) if (self->frame) frame_adjust_state(self->frame); + tiling_client_changed(self); } ObClient *client_search_focus_tree(ObClient *self) @@ -3318,6 +3327,7 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h, { client_calc_layer(self); } + tiling_client_changed(self); } void client_fullscreen(ObClient *self, gboolean fs) |
