Skip to content

Commit

Permalink
Release 1.3.4
Browse files Browse the repository at this point in the history
- Fix dependency versions
- Improve code quality
  • Loading branch information
Cagebreak Signing Key 3 committed Aug 16, 2020
1 parent c20e63b commit c7c0c46
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ ninja -C build

For every release after 1.0.5, hashes will be provided.

1.3.4

* sha 256: ea9f634b8f6e2b9f191745a25abff4969eb7ea19cb3186b79a6138904aedeb1c
* sha 512: 9094f9c92acbff8fd95d38e7458c5184804f8913fa8c405bc2b6a0a220fe478b06cfeadbae41bd5ef84bde8d5642c249df9dada953e39c25926aa650c30a5309

1.3.3

* sha 256: 801851ceb52afac333a1decdd236ddef55555f8b36f865e8b3a831975a496f0d
Expand Down
1 change: 1 addition & 0 deletions keybinding.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ keybinding_configure_output(struct cg_server *server,
if(strcmp(cfg->output_name, it->output_name) == 0) {
wl_list_remove(&it->link);
free(it->output_name);
free(it);
}
}
wl_list_insert(&server->output_config, &cfg->link);
Expand Down
2 changes: 1 addition & 1 deletion man/cagebreak-config.5.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% CAGEBREAK-CONFIG(1) Version 1.3.3 | Cagebreak Manual
% CAGEBREAK-CONFIG(1) Version 1.3.4 | Cagebreak Manual

# NAME

Expand Down
2 changes: 1 addition & 1 deletion man/cagebreak.1.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% CAGEBREAK(1) Version 1.3.3 | Cagebreak Manual
% CAGEBREAK(1) Version 1.3.4 | Cagebreak Manual

# NAME

Expand Down
8 changes: 4 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('cagebreak', 'c',
version: '1.3.3',
version: '1.3.4',
license: 'MIT',
default_options: [
'c_std=c11',
Expand Down Expand Up @@ -53,7 +53,7 @@ if is_freebsd
)
endif

wlroots = dependency('wlroots', version: '>= 0.9.1')
wlroots = dependency('wlroots', version: '>= 0.11.0')
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
wayland_server = dependency('wayland-server')
wayland_cursor = dependency('wayland-cursor')
Expand Down Expand Up @@ -199,9 +199,9 @@ reproducible_build_versions = {
'xkbcommon': '0.10.0',
'fontconfig': '2.13.91',
'pixman': '0.40.0',
'pango': '1.44.7',
'pango': '1.46.0',
'cairo': '1.17.3',
'pangocairo': '1.44.7',
'pangocairo': '1.46.0',
'math': '-1'
}

Expand Down
Binary file added signatures/1.3.3.sig
Binary file not shown.
Binary file modified signatures/cagebreak.sig
Binary file not shown.
15 changes: 7 additions & 8 deletions view.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,15 +276,14 @@ view_unmap(struct cg_view *view) {
struct cg_view *prev = view_get_prev_view(view);
wlr_output_damage_add_box(view_tile->workspace->output->damage,
&view_tile->tile);
if((view->workspace->server->seat->seat->keyboard_state
.focused_surface == NULL ||
view->workspace->server->seat->seat->keyboard_state
.focused_surface == view->wlr_surface) &&
view->workspace->server->curr_output
->workspaces[view->workspace->server->curr_output
->curr_workspace]
->focused_tile == view_tile) {
if(view == view->workspace->server->seat->focused_view) {
seat_set_focus(view->workspace->server->seat, prev);
} else if(view->workspace->server->seat->seat->keyboard_state
.focused_surface == view->wlr_surface) {
wlr_seat_keyboard_clear_focus(
view->workspace->server->seat->seat);
seat_set_focus(view->workspace->server->seat,
view->workspace->server->seat->focused_view);
} else {
view_tile->view = prev;
if(prev != NULL) {
Expand Down

0 comments on commit c7c0c46

Please sign in to comment.