<feed xmlns='http://www.w3.org/2005/Atom'>
<title>marco/src/ui/ui.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: Parse _BAMF_DESKTOP_FILE property</title>
<updated>2025-04-02T20:37:16+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2024-04-08T16:23:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=797b4dc01895b9936c68aad9f8b4e8b7b24502ab'/>
<id>797b4dc01895b9936c68aad9f8b4e8b7b24502ab</id>
<content type='text'>
In systems with bamfdaemon running, windows get this property for
finding the dekstop spec file of an application. This can be used to
find the defined icon for any application window that reports this
attribute and provider much better icon matching.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In systems with bamfdaemon running, windows get this property for
finding the dekstop spec file of an application. This can be used to
find the defined icon for any application window that reports this
attribute and provider much better icon matching.
</pre>
</div>
</content>
</entry>
<entry>
<title>iconcache: Add GDesktopAppInfo lookup as an icon caching strategy</title>
<updated>2025-04-02T20:37:16+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2023-03-03T18:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=34a06a853aedea845b4723989b97b1384e80869d'/>
<id>34a06a853aedea845b4723989b97b1384e80869d</id>
<content type='text'>
Looking up GDesktopAppInfo from the GTK Application ID we can get a much
better match for the icon and load it at the appropriate scale. This
results in matching icons to straneous windows and better looking icons
overall.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Looking up GDesktopAppInfo from the GTK Application ID we can get a much
better match for the icon and load it at the appropriate scale. This
results in matching icons to straneous windows and better looking icons
overall.
</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>ui: avoid 'g_object_unref (NULL)'</title>
<updated>2022-08-15T05:06:11+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2022-07-30T10:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=b0c94c09881af61634011a61c10b947e37de3030'/>
<id>b0c94c09881af61634011a61c10b947e37de3030</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>iconcache: Use GDesktopAppInfo to find correct application icons</title>
<updated>2021-06-04T15:02:28+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2021-05-26T18:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=60e6fbfb093d63c46ca8e77750c54f31c9780c1c'/>
<id>60e6fbfb093d63c46ca8e77750c54f31c9780c1c</id>
<content type='text'>
Some files do not report their application icons correctly in the window
properties. This patch allows the marco UI to search for the
corresponding .desktop file and render the icon in the desktop info on
both the alt-tab popup and the window mini-icon.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some files do not report their application icons correctly in the window
properties. This patch allows the marco UI to search for the
corresponding .desktop file and render the icon in the desktop info on
both the alt-tab popup and the window mini-icon.
</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: 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>
<entry>
<title>frame: Add "get_corner_radiuses" chain</title>
<updated>2019-06-05T14:49:37+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2019-05-22T15:12:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=b925581e37b2ac2ffdb97469fbfb284aac93feab'/>
<id>b925581e37b2ac2ffdb97469fbfb284aac93feab</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=628195

upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/3994d7a0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=628195

upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/3994d7a0
</pre>
</div>
</content>
</entry>
<entry>
<title>Only shadow ARGB windows with a frame outside the frame</title>
<updated>2019-06-05T14:49:37+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2019-05-22T14:56:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=6f33395c69550e1fad6aa49d52e1284ca89f88c1'/>
<id>6f33395c69550e1fad6aa49d52e1284ca89f88c1</id>
<content type='text'>
An ARGB window with a frame is likely something like a transparent
terminal. It looks awful (and breaks transparency) to draw a big
opaque black shadow under the window, so clip out the region under
the terminal from the shadow we draw.

Add meta_window_get_frame_bounds() to get a cairo region for the
outer bounds of the frame of a window, and modify the frame handling
code to notice changes to the frame shape and discard a cached
region. meta_frames_apply_shapes() is refactored so we can extract
meta_frames_get_frame_bounds() from it.

https://bugzilla.gnome.org/show_bug.cgi?id=635268

NOTE: Applied only partially, compositor part is still missing...

upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/0f2e32d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An ARGB window with a frame is likely something like a transparent
terminal. It looks awful (and breaks transparency) to draw a big
opaque black shadow under the window, so clip out the region under
the terminal from the shadow we draw.

Add meta_window_get_frame_bounds() to get a cairo region for the
outer bounds of the frame of a window, and modify the frame handling
code to notice changes to the frame shape and discard a cached
region. meta_frames_apply_shapes() is refactored so we can extract
meta_frames_get_frame_bounds() from it.

https://bugzilla.gnome.org/show_bug.cgi?id=635268

NOTE: Applied only partially, compositor part is still missing...

upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/0f2e32d1
</pre>
</div>
</content>
</entry>
<entry>
<title>ui: Add meta_ui_update_frame_style()</title>
<updated>2019-06-05T14:49:37+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2019-05-21T17:42:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=b59538af6e5c2858fc0d01ac1db42957c303ec48'/>
<id>b59538af6e5c2858fc0d01ac1db42957c303ec48</id>
<content type='text'>
This method allows forcing a style update of a particular frame
from the core, so that it can pick up style variants.

https://bugzilla.gnome.org/show_bug.cgi?id=645355

upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/97554dc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method allows forcing a style update of a particular frame
from the core, so that it can pick up style variants.

https://bugzilla.gnome.org/show_bug.cgi?id=645355

upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/97554dc4
</pre>
</div>
</content>
</entry>
</feed>
