Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guake/guake_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ def load_config(self, terminal_uuid=None):
self.settings.general.triggerOnChangedValue(
self.settings.general, "window-ontop", user_data=user_data
)
if not self.fullscreen_manager.is_fullscreen():
if not self.fullscreen_manager.is_fullscreen() and not terminal_uuid:
self.settings.general.triggerOnChangedValue(
self.settings.general, "window-height", user_data=user_data
)
Expand Down
13 changes: 11 additions & 2 deletions guake/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,17 @@ def set_final_window_rect(cls, settings, window):
log.debug(" window_rect.height: %s", window_rect.height)
log.debug(" window_rect.width: %s", window_rect.width)
# Note: move_resize is only on GTK3
window.resize(window_rect.width, window_rect.height)
window.move(window_rect.x, window_rect.y)
gdk_window = window.get_window()
if gdk_window is not None:
gdk_window.move_resize(
window_rect.x,
window_rect.y,
window_rect.width,
window_rect.height,
)
else:
window.move(window_rect.x, window_rect.y)
window.resize(window_rect.width, window_rect.height)
log.debug("Updated window position: %r", window.get_position())

return window_rect
Expand Down