<feed xmlns='http://www.w3.org/2005/Atom'>
<title>marco/src/include/ui.h, 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>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>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>
<entry>
<title>Replace public MetaFrameGeometry with MetaFrameBorders</title>
<updated>2019-06-05T14:49:37+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2019-04-12T11:58:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=c66b32666e48996b97e691ed002f86b6ff18dec5'/>
<id>c66b32666e48996b97e691ed002f86b6ff18dec5</id>
<content type='text'>
There were actually *two* MetaFrameGeometry structs: one in theme-private.h,
one in frame.h. The latter public struct was populated by a mix of (void*)
casting and int pointers, usually pulling directly from the data in the private
struct.

Remove the public struct, replace it with MetaFrameBorders and scrap all
the pointer hacks to populate it, instead relying on both structs being used
in common code.

This commit should be relatively straightforward, and it should not do any
tricky logic at all, just a sophisticated find and replace.

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

upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/72224a165
NOTE: Patch copied from metacity and adapted for marco.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There were actually *two* MetaFrameGeometry structs: one in theme-private.h,
one in frame.h. The latter public struct was populated by a mix of (void*)
casting and int pointers, usually pulling directly from the data in the private
struct.

Remove the public struct, replace it with MetaFrameBorders and scrap all
the pointer hacks to populate it, instead relying on both structs being used
in common code.

This commit should be relatively straightforward, and it should not do any
tricky logic at all, just a sophisticated find and replace.

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

upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/72224a165
NOTE: Patch copied from metacity and adapted for marco.
</pre>
</div>
</content>
</entry>
<entry>
<title>ui: always set the frame background to None</title>
<updated>2019-04-23T18:41:49+00:00</updated>
<author>
<name>Giovanni Campagna</name>
<email>gcampagna@src.gnome.org</email>
</author>
<published>2014-07-31T15:41:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=2d6e4ae2e8c8e5a371715c7b4ed1291769993125'/>
<id>2d6e4ae2e8c8e5a371715c7b4ed1291769993125</id>
<content type='text'>
This way the xserver never paints the frame background, even if
the client window is destroyed. This allows us to have clean
destroy window animation.

There is no problem with interactive resizing because applications
are using the XSync protocol, so we're not painting unless the
client has redrawn.

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

origin commit:
https://gitlab.gnome.org/GNOME/metacity/commit/78c283c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way the xserver never paints the frame background, even if
the client window is destroyed. This allows us to have clean
destroy window animation.

There is no problem with interactive resizing because applications
are using the XSync protocol, so we're not painting unless the
client has redrawn.

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

origin commit:
https://gitlab.gnome.org/GNOME/metacity/commit/78c283c
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid deprecated gdk_display_get_screen</title>
<updated>2017-07-29T00:10:08+00:00</updated>
<author>
<name>ZenWalker</name>
<email>scow@riseup.net</email>
</author>
<published>2017-07-29T00:10:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=ed1a6302c87c6070bbec549ec36c5b56c12a6564'/>
<id>ed1a6302c87c6070bbec549ec36c5b56c12a6564</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
