Age | Commit message (Collapse) | Author | Files | Lines |
|
META_COMP_WINDOW_DESKTOP is available (#329)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use that flag to retain the correct window size when performing other
operations. Reset when re-tiling.
|
|
Determine whether the user is initiating a resize action on a tiled
window. If the user is trying to grab the window for resizing
horizontally from the edge that's farther away from the screen edge,
allow the resize to occur. Otherwise maintain the current tile geometry.
Also modified the window hints to allow resizing from the window menu.
Fixes #250
|
|
avoid deprecated:
gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_point
|
|
|
|
|
|
use GtkSeat for > gtk+-3.20
|
|
Those were never used in MATE and have a lot of deprecated functions.
Already droped in metacity.
https://git.gnome.org/browse/metacity/commit/?id=b580e3e
|
|
* 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
|
|
default or user configured scale. Closes #335 (#336)
|
|
|
|
|
|
|
|
|
|
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]>
|
|
for consistency with all the other bindings
|
|
|
|
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=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
|
|
|
|
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 ()
|