GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JDWindow: Fix window size saving issue on Wayland by ma8ma · Pull Request #1500 · JDimproved/JDim Conversation
Collaborator
ウインドウ最大化解除時、Waylandで最大化前の元のサイズに復元されない問題を修正しました。これにより、Wayland環境でもウインドウのサイズが正しく保存されるようになります。 この問題は、Waylandでは さらに、READMEとマニュアルを更新し、この問題が修正済みであることを明記しました。 Fix an issue where the window size was not restored to its pre-maximized state when unmaximizing a window on Wayland. This ensures that window sizes are correctly saved and restored in Wayland environments. The issue occurred because Additionally, the README and manual are updated to reflect that this issue has been fixed. 関連のpull request:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsウインドウ最大化解除時、Waylandで最大化前の元のサイズに復元されない 問題を修正しました。これにより、Wayland環境でもウインドウのサイズが 正しく保存されるようになります。 この問題は、Waylandでは`Gtk::Window`の`on_window_state_event()`と `on_configure_event()`の呼び出し順序がX11と異なるため、 `on_configure_event()`呼び出し時点では`is_maximized_win()`などの状態が 最新ではないことに起因します。これを解決するため、Waylandでは `Gdk::Window::get_state()`を利用してウインドウ状態を判定するように 変更しました。 さらに、READMEとマニュアルを更新し、この問題が修正済みであることを 明記しました。 Fix an issue where the window size was not restored to its pre-maximized state when unmaximizing a window on Wayland. This ensures that window sizes are correctly saved and restored in Wayland environments. The issue occurred because `on_window_state_event()` and `on_configure_event()` are called in reverse order on Wayland compared to X11. As a result, the state retrieved by `is_maximized_win()` and related methods was not updated when `on_configure_event()` was invoked. To resolve this, the implementation now uses `Gdk::Window::get_state()` to determine the latest window state on Wayland. Additionally, the README and manual are updated to reflect that this issue has been fixed. 関連のpull request: #1463
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |