<feed xmlns='http://www.w3.org/2005/Atom'>
<title>marco/src/ui/frames.c, branch focus-modal-dialogs</title>
<subtitle>MATE default window manager</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/'/>
<entry>
<title>window: Add configurable mouse actions for titlebar</title>
<updated>2025-09-09T19:51:09+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2025-08-15T11:20:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=b5292ba66132104256590631b2d2b7a1c92ad934'/>
<id>b5292ba66132104256590631b2d2b7a1c92ad934</id>
<content type='text'>
Adds support for configurable mouse actions on window titlebars,
including middle-click and scroll wheel events.

New actions added:
- close: Close the window
- raise: Raise window to top
- toggle_stick: Toggle sticky state (all workspaces)
- toggle_above: Toggle always-on-top state

Fixes #425
Fixes #787

Note: requries matching mate-control-center changes to work properly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support for configurable mouse actions on window titlebars,
including middle-click and scroll wheel events.

New actions added:
- close: Close the window
- raise: Raise window to top
- toggle_stick: Toggle sticky state (all workspaces)
- toggle_above: Toggle always-on-top state

Fixes #425
Fixes #787

Note: requries matching mate-control-center changes to work properly
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix GTK deprecations (#798)</title>
<updated>2025-07-27T20:07:59+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2025-07-27T20:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=87aa5feb8790168eb7b2bc890938353116d26594'/>
<id>87aa5feb8790168eb7b2bc890938353116d26594</id>
<content type='text'>
* menu: replace gtk_menu_popup() with gtk_menu_popup_at_rect()

Replace deprecated gtk_menu_popup() with gtk_menu_popup_at_rect(). This
provides the same menu positioning calculation while eliminating
deprecation warnings.

* ui: replace gtk_widget_get_realized() with gtk_widget_get_mapped()

Replace deprecated gtk_widget_get_realized() with
gtk_widget_get_mapped(). Since mapped widgets are guaranteed to be
realized, and we only care about widget visibility, this change
eliminates deprecation warnings while maintaining the same
functionality.

* frames: replace gdk_window_process_all_updates() with gdk_display_flush()

Replace deprecated gdk_window_process_all_updates() with
gdk_display_flush(). Both functions ensure pending updates are
processed, but gdk_display_flush is more general for all display
requests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* menu: replace gtk_menu_popup() with gtk_menu_popup_at_rect()

Replace deprecated gtk_menu_popup() with gtk_menu_popup_at_rect(). This
provides the same menu positioning calculation while eliminating
deprecation warnings.

* ui: replace gtk_widget_get_realized() with gtk_widget_get_mapped()

Replace deprecated gtk_widget_get_realized() with
gtk_widget_get_mapped(). Since mapped widgets are guaranteed to be
realized, and we only care about widget visibility, this change
eliminates deprecation warnings while maintaining the same
functionality.

* frames: replace gdk_window_process_all_updates() with gdk_display_flush()

Replace deprecated gdk_window_process_all_updates() with
gdk_display_flush(). Both functions ensure pending updates are
processed, but gdk_display_flush is more general for all display
requests.</pre>
</div>
</content>
</entry>
<entry>
<title>ui/frames: check that compositing is not only requested, but also available.</title>
<updated>2023-08-17T19:50:32+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2023-07-28T18:24:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=dc4a2863dd402b052edce27e441503751619b024'/>
<id>dc4a2863dd402b052edce27e441503751619b024</id>
<content type='text'>
Enabling code that is supposed to be used in compositing conditions is
harmful if compositing is not actually available. Just checking the
preference is not enough to make sure that compositing is available -
the X server might be missing crucial extensions for compositing to
work, which in turn correctly disables the internal compositor.

The end result is graphical issues like black borders around windows in
such situations.

Make sure that compositing is both requested AND available to fix this
bug.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enabling code that is supposed to be used in compositing conditions is
harmful if compositing is not actually available. Just checking the
preference is not enough to make sure that compositing is available -
the X server might be missing crucial extensions for compositing to
work, which in turn correctly disables the internal compositor.

The end result is graphical issues like black borders around windows in
such situations.

Make sure that compositing is both requested AND available to fix this
bug.
</pre>
</div>
</content>
</entry>
<entry>
<title>frames: Unused static functions 'get_client_region', 'get_frame_region'</title>
<updated>2021-03-13T19:37:35+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-02-24T12:54:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=d9903e20a770e024d88250b36424054b0bc43a38'/>
<id>d9903e20a770e024d88250b36424054b0bc43a38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>i18n: Use glib's gettext support macros</title>
<updated>2021-03-06T22:57:46+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-02-17T10:05:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=8cb3a02a26c03e57d064bd03319e34b6930ac3f5'/>
<id>8cb3a02a26c03e57d064bd03319e34b6930ac3f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not call cairo paint on generate_pixmaps.</title>
<updated>2020-09-05T11:19:54+00:00</updated>
<author>
<name>rcaridade145</name>
<email>rcaridade145@gmail.com</email>
</author>
<published>2020-08-29T15:52:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=0c2baf71f18f39058edc8459990da27c4d448d81'/>
<id>0c2baf71f18f39058edc8459990da27c4d448d81</id>
<content type='text'>
Based on Metacity commit https://gitlab.gnome.org/GNOME/metacity/-/commit/0b2f5ad0a2f30726ac0dc59aa59f7f513e91c832

Fixes transparent windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on Metacity commit https://gitlab.gnome.org/GNOME/metacity/-/commit/0b2f5ad0a2f30726ac0dc59aa59f7f513e91c832

Fixes transparent windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove multiple empty lines</title>
<updated>2020-08-04T14:39:25+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2020-08-04T13:53:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=37e4d38ca3a61eb843d80732a26f29668352433d'/>
<id>37e4d38ca3a61eb843d80732a26f29668352433d</id>
<content type='text'>
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \;
</pre>
</div>
</content>
</entry>
<entry>
<title>frames: don't bother painting the background</title>
<updated>2020-02-21T15:58:34+00:00</updated>
<author>
<name>rcaridade145</name>
<email>rcaridade145@gmail.com</email>
</author>
<published>2020-02-06T19:59:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=7adcd70ebf293c0d40b848afc2fa40e7dc23ac67'/>
<id>7adcd70ebf293c0d40b848afc2fa40e7dc23ac67</id>
<content type='text'>
GDK (and also GTK+!) do this for us already.

based on https://gitlab.gnome.org/GNOME/metacity/commit/1dcde194
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GDK (and also GTK+!) do this for us already.

based on https://gitlab.gnome.org/GNOME/metacity/commit/1dcde194
</pre>
</div>
</content>
</entry>
<entry>
<title>frames: bump priority of style providers</title>
<updated>2019-08-10T16:15:27+00:00</updated>
<author>
<name>monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2019-07-30T09:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=8c352c4fed01b70fe109442cd5cfa7f8b19bcb5b'/>
<id>8c352c4fed01b70fe109442cd5cfa7f8b19bcb5b</id>
<content type='text'>
finally, apps that prefer dark theme variant (gtk-application-prefer-dark-theme
in GtkSettings) should also have dark window decorations

taken from:
https://github.com/GNOME/metacity/commit/6b0d325442b995a78b8783384f7ec370db1369a4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
finally, apps that prefer dark theme variant (gtk-application-prefer-dark-theme
in GtkSettings) should also have dark window decorations

taken from:
https://github.com/GNOME/metacity/commit/6b0d325442b995a78b8783384f7ec370db1369a4
</pre>
</div>
</content>
</entry>
<entry>
<title>frames: apply modified hack from Mutter/Metacity</title>
<updated>2019-08-10T16:15:27+00:00</updated>
<author>
<name>monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2019-07-30T08:50:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=85baeea9b663d4c356313ef1164c8efbf03e2e7e'/>
<id>85baeea9b663d4c356313ef1164c8efbf03e2e7e</id>
<content type='text'>
- this will be needed for proper window decoration color updates on theme change
  when theme variants fixes are applied

- realize/unrealize functions are dropped instead of map/unmap ones, because
  we didn't change these during GTK+3 porting

- MetaFrames now has GtkWindow as parent instead of GtkInvisible, otherwise
  the hack doesn't work (revert part of 96c7256d638b8c76c8abf786ba307e82a595dd67)

adapted from:
https://github.com/GNOME/metacity/commit/ba8500663457ad9f18ebfdf405162c2cb5caf88f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- this will be needed for proper window decoration color updates on theme change
  when theme variants fixes are applied

- realize/unrealize functions are dropped instead of map/unmap ones, because
  we didn't change these during GTK+3 porting

- MetaFrames now has GtkWindow as parent instead of GtkInvisible, otherwise
  the hack doesn't work (revert part of 96c7256d638b8c76c8abf786ba307e82a595dd67)

adapted from:
https://github.com/GNOME/metacity/commit/ba8500663457ad9f18ebfdf405162c2cb5caf88f
</pre>
</div>
</content>
</entry>
</feed>
