diff options
| author | allusive-dev <[email protected]> | 2023-11-10 19:04:25 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-11-10 19:04:25 +1100 |
| commit | 0cb1c6a7013b50562383e0d4575a6709c3534214 (patch) | |
| tree | c9a517206e12c4f8635bec3a27c13f34d3126a11 | |
| parent | Removed WM warning message (diff) | |
| download | compfy-0cb1c6a7013b50562383e0d4575a6709c3534214.tar.xz compfy-0cb1c6a7013b50562383e0d4575a6709c3534214.zip | |
Switching some per wm patches to global
| -rw-r--r-- | meson.build | 4 | ||||
| -rw-r--r-- | src/picom.c | 22 | ||||
| -rw-r--r-- | src/win.c | 2 |
3 files changed, 15 insertions, 13 deletions
diff --git a/meson.build b/meson.build index b4cae0b..9480572 100644 --- a/meson.build +++ b/meson.build @@ -1,10 +1,10 @@ -project('picom', 'c', version: '1.4.2', +project('picom', 'c', version: '1.4.3', default_options: ['c_std=c11', 'warning_level=1']) cc = meson.get_compiler('c') # use project version by default -version = 'v1.4.2' +version = 'v1.4.3' # use git describe if that's available # git = find_program('git', required: false) diff --git a/src/picom.c b/src/picom.c index c8dea67..6aad167 100644 --- a/src/picom.c +++ b/src/picom.c @@ -835,16 +835,18 @@ paint_preprocess(session_t *ps, bool *fade_running, bool *animation_running) { if (size_changed) { win_on_win_size_change(ps, w); - if (ps->o.support_for_wm == WM_SUPPORT_AWESOME) { - win_update_bounding_shape(ps, w); - } else if (ps->o.support_for_wm == WM_SUPPORT_HERB) { - win_update_bounding_shape(ps, w); - } else { - pixman_region32_clear(&w->bounding_shape); - pixman_region32_fini(&w->bounding_shape); - pixman_region32_init_rect(&w->bounding_shape, 0, 0, - (uint)w->widthb, (uint)w->heightb); - } + // if (ps->o.support_for_wm == WM_SUPPORT_AWESOME) { + // win_update_bounding_shape(ps, w); + // } else if (ps->o.support_for_wm == WM_SUPPORT_HERB) { + // win_update_bounding_shape(ps, w); + // } else { + // pixman_region32_clear(&w->bounding_shape); + // pixman_region32_fini(&w->bounding_shape); + // pixman_region32_init_rect(&w->bounding_shape, 0, 0, + // (uint)w->widthb, (uint)w->heightb); + // } + + win_update_bounding_shape(ps, w); if (w->state != WSTATE_DESTROYING) win_clear_flags(w, WIN_FLAGS_PIXMAP_STALE); @@ -3191,7 +3191,7 @@ win_is_fullscreen_xcb(xcb_connection_t *c, const struct atom *a, const xcb_windo void win_set_flags(struct managed_win *w, uint64_t flags) { log_debug("Set flags %" PRIu64 " to window %#010x (%s)", flags, w->base.id, w->name); if (unlikely(w->state == WSTATE_DESTROYING)) { - log_error("Flags set on a destroyed window %#010x (%s)", w->base.id, w->name); + // log_error("Flags set on a destroyed window %#010x (%s)", w->base.id, w->name); return; } |