[gimp] app: fix image position when entering/leaving fullscreen mode
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix image position when entering/leaving fullscreen mode
- Date: Mon, 11 Jan 2016 00:57:31 +0000 (UTC)
commit 2560ad60fad1b0fe031b6c3bee68fa7d5f6711a2
Author: Michael Natterer <mitch gimp org>
Date: Mon Jan 11 01:55:14 2016 +0100
app: fix image position when entering/leaving fullscreen mode
Call the suspend()/resume() from the previous commit around
gimp_display_shell_appearance_update() so the cancas is not
repositioned for each individual widget configuration.
app/display/gimpimagewindow.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index b629d78..6e8455e 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -676,7 +676,9 @@ gimp_image_window_window_state_event (GtkWidget *widget,
gtk_widget_set_name (private->menubar,
fullscreen ? "gimp-menubar-fullscreen" : NULL);
+ gimp_image_window_suspend_keep_pos (window);
gimp_display_shell_appearance_update (shell);
+ gimp_image_window_resume_keep_pos (window);
}
if (event->changed_mask & GDK_WINDOW_STATE_ICONIFIED)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]