Age | Commit message (Collapse) | Author | Files | Lines |
|
Based on metacity commit: a0b8c85c4c0cfb9a378d7c5554af15fdd7703155
From: Alberts Muktupāvels <[email protected]>
|
|
META_COMP_WINDOW_DESKTOP is available (#329)
|
|
|
|
* Determine focused window when processing synthetic events
When a client is passively grabbing keybindings that it does not need,
it sends them up for other clients to process.
Often in this situation, the event contains the wrong window (either
root, for global keybindings, or the original client itself). This means
that Marco will attempt to process the event for the wrong window.
This is not an issue for global keybindings within Marco, as the focused
window does not matter. However, for shortcuts that operate directly on
specific windows, the event gets lost.
This change addresses this by determining what the currently-focused
window is, regardless of which client forwarded the event.
* Determine window under pointer when processing synthetic events
When a client is passively grabbing mouse clicks that it does not need,
it sends them up for other clients to process.
Often in this situation, the event contains the wrong window (either
root, for global keybindings, or the original client itself). This means
that Marco will attempt to process the event for the wrong window.
This change addresses this by determining what the current window under
the mouse pointer is, regardless of which client forwarded the event.
* Remove unused development data
|
|
This legacy construct was carried over from the gtk2/gtk3 port, and
attempts to initialise MetaFrames with a GtkWindow `type` property.
This property doesn't actually exist, and will cause marco to completely
crash when running with `MARCO_DEBUG=1` for local build testing.
Signed-off-by: Ikey Doherty <[email protected]>
|
|
taken from:
https://git.gnome.org/browse/metacity/commit/?id=7ec9a6f
|
|
_SVID_SOURCE has been deprecated in newer versions of glibc breaking -WError;
the recommended replacement of _DEFAULT_SOURCE is fairly new, so switch to
_XOPEN_SOURCE instead.
Based on mutter commits b159d6a5e17219557574defb6c3788d9b0c39757
and b159d6a5e17219557574defb6c3788d9b0c39757.
https://bugzilla.gnome.org/show_bug.cgi?id=763782
taken from:
https://git.gnome.org/browse/metacity/commit/?id=56bcf350fb599ec2caf68af4f0f92b1c3999027c
|
|
Taken from:
https://git.gnome.org/browse/metacity/commit/?id=3380502
|
|
This reverts commit 768fdd8d3852e67555a585da28b6404a97853cbd.
fixes probably "strange window switching foreground/background behavior"
https://github.com/mate-desktop/marco/issues/251
|
|
|
|
taken from:
https://git.gnome.org/browse/metacity/commit/?id=02fa1e1
|
|
taken from:
https://git.gnome.org/browse/metacity/commit/?id=66d54f5
|
|
|
|
|
|
|
|
|
|
|
|
picked from upstream:
https://git.gnome.org/browse/metacity/commit/src/ui/theme-viewer.c?id=238e83a98cf014c9b1082d21541e63f102d441d6
https://git.gnome.org/browse/metacity/commit/src/ui/theme-viewer.c?id=c9099b4a90932a22c86b960c8b4dc7cd1458defe
|
|
|
|
same as done upstream:
https://git.gnome.org/browse/metacity/commit/?id=93e8c8d8b399200291965357f893fff404426eae
|
|
|
|
|
|
|
|
|
|
|
|
|
|
was my mistake in 9212dacb2bfd5985d8426bf0bdb88f2aca03444e :-/
|
|
|
|
|
|
adapted from:
https://git.gnome.org/browse/metacity/commit/?id=e6828a3ee2cab1ec1acbdd5a444dc1cb98215a75
https://git.gnome.org/browse/metacity/commit/?id=758902aef22629943738241cea1f597b6db4b18e
https://git.gnome.org/browse/metacity/commit/?id=c6ba6dc7f458720d9f8666881f45a830580468cb
https://git.gnome.org/browse/metacity/commit/?id=68bdf1ab9de815e07f5cd75b2e1fa24ba92ae319
https://git.gnome.org/browse/metacity/commit/?id=78bbf4423f72797a05bfaddd4121d70db30de9a3
|
|
|
|
this avoids warnings like this:
Warning of Windowmanagement:Log level 16: State 4 for context 0x55988f9ad950
doesn't match state 128 set via gtk_style_context_set_state ()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=755001
|
|
line is taken from
https://github.com/GNOME/metacity/commit/632d3983fbc402432c6ceae05bea8903ad2f11c0
was forgotten in
https://github.com/mate-desktop/marco/commit/ad9db61aabc2cbf743a1157ddc42ff76127f3fab
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/metacity/commit/?id=5aeb6e9
|
|
partially taken from:
https://git.gnome.org/browse/metacity/commit/?id=51b9e57
|
|
taken from:
https://git.gnome.org/browse/metacity/commit/?id=1f2ea05
|
|
taken from:
https://git.gnome.org/browse/metacity/commit/?id=7a5c50c
|
|
taken from:
https://git.gnome.org/browse/metacity/commit/?id=e00996a
|
|
gtk_style_context_get_background_color
partially taken from:
https://git.gnome.org/browse/metacity/commit/?id=33ad43f
|
|
partially taken from:
https://git.gnome.org/browse/metacity/commit/?id=542a2b4
|
|
Add GTK_STYLE_CLASS_BACKGROUND class to context, so we have correct colors from the GTK+ theme instead of white text over black background.
|