Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dialog: Add Client-Side Decoration support #668

Merged

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Apr 11, 2021

Client-Side Decoration(CSD)の設定を追加します。

Client-Side Decorationとは

デスクトップ(ウインドウマネージャ)が制御していたタイトルバーをアプリケーションの領域として使う概念です。

設定値と意味

CSDはデスクトップ環境との関係が強いためabout:configに項目を追加します。

  • 0: CSDを使わない
  • 1: CSDを使う
  • 2: デスクトップに合わせる (デフォルト)

「デスクトップに合わせる」にするとCSDが導入されたデスクトップ環境では「使う」になります。

ダイアログ

ダイアログボックスにCSDサポートを追加します。CSDが使われる条件は下記の2通りです。

  • about:config「Client-Side Decorationを使うか」の値が1(使う)
    GtkSettings gtk-dialogs-use-headerの値がtrue

  • about:config「Client-Side Decorationを使うか」の値が2(合わせる)
    デスクトップ環境がGNOME
    GtkSettings gtk-dialogs-use-headerの値がtrue

関連のissue: #602

Client-Side Decoration(CSD)の設定を追加します。
CSDはデスクトップ環境との関係が強いためabout:configに項目を追加します。

設定値と意味
- 0: CSDを使わない
- 1: CSDを使う
- 2: デスクトップに合わせる (デフォルト)

「デスクトップに合わせる」にするとCSDが導入されたデスクトップ環境
では「使う」になります。

Client-Side Decorationとは
デスクトップ(ウインドウマネージャ)が制御していたタイトルバーを
アプリケーションの領域として使う概念です。
ダイアログボックスにCSDサポートを追加します。CSDが使われる条件は
下記の2通りです。

- about:config「Client-Side Decorationを使うか」の値が`1`(使う)
  GtkSettings `gtk-dialogs-use-header`の値が`true`

- about:config「Client-Side Decorationを使うか」の値が`2`(合わせる)
  デスクトップ環境がGNOME
  GtkSettings `gtk-dialogs-use-header`の値が`true`
@ma8ma ma8ma added gtk3 GTK3版に関するトピック feature 機能の追加と削除 labels Apr 11, 2021
@ma8ma ma8ma added this to In progress in State of JDim-v0.5.0+ via automation Apr 11, 2021
@ma8ma ma8ma merged commit de95ee1 into JDimproved:master Apr 11, 2021
State of JDim-v0.5.0+ automation moved this from In progress to Done Apr 11, 2021
@ma8ma ma8ma deleted the initial-support-for-client-side-decoration branch April 11, 2021 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 機能の追加と削除 gtk3 GTK3版に関するトピック
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant