Skip to content

Commit f1730e2

Browse files
committed
try workaround
1 parent c7708e5 commit f1730e2

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ flatpak remote-add --if-not-exists \
156156
Install the gtk4 SDK and runtime:
157157

158158
```shell
159-
flatpak install org.gnome.Sdk//44
160-
flatpak install org.gnome.Platform//44
159+
flatpak install org.gnome.Sdk//45
160+
flatpak install org.gnome.Platform//45
161161
```
162162

163163
Allow file. Recent security changes to git will cause submodule checkout

org.libvips.vipsdisp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
{
368368
"type" : "git",
369369
"url" : "https://github.com/libvips/libvips.git",
370-
"commit" : "baf3ac9b6151c961be00ff3c6cf8ad06b0305d31"
370+
"commit" : "db9c535a4a8d56bab564e12f7bc14db88e82a6f9"
371371
}
372372
]
373373
},
@@ -383,7 +383,7 @@
383383
{
384384
"type" : "git",
385385
"url" : "https://github.com/jcupitt/vipsdisp.git",
386-
"tag" : "v2.7"
386+
"tag" : "v3.0a"
387387
}
388388
]
389389
}

src/imagewindow.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ image_window_active_remove(ImageWindow *win, const char *filename)
174174
if (active->imageui == win->imageui)
175175
win->imageui = NULL;
176176

177+
// many version of gtk hate removing a widget which has focus
178+
gtk_widget_grab_focus(win->gears);
179+
177180
gtk_stack_remove(GTK_STACK(win->stack), GTK_WIDGET(active->imageui));
178181
g_hash_table_remove(win->active_hash, filename);
179182
}

0 commit comments

Comments
 (0)