Skip to content

Commit

Permalink
cinnamon-session-quit: Set modal.
Browse files Browse the repository at this point in the history
This causes the dialog to be centered when launched.

Currently, muffin treats any decorated window as 'normal' unless
it's marked modal, regardless of its window hint (normal, dialog,
modal-dialog). Normal windows are subject to normal window
placement rules.
  • Loading branch information
mtwebster committed Nov 13, 2023
1 parent 829519b commit a99a581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cinnamon-session-quit/cinnamon-session-quit.glade
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<object class="GtkDialog" id="window">
<property name="can-focus">False</property>
<property name="title" translatable="yes">Session</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="default-width">500</property>
<property name="default-height">150</property>
<property name="type-hint">dialog</property>
Expand Down

0 comments on commit a99a581

Please sign in to comment.