summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-11-10XPresent extension support - first passVictor Kareh3-30/+142
2017-08-30Store a window flag when user resizes from tiledVictor Kareh4-1/+15
Use that flag to retain the correct window size when performing other operations. Reset when re-tiling.
2017-08-29Allow tiled windows to be resized horizontallyVictor Kareh2-4/+33
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
2017-08-22gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+9
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-18avoid deprecated gdk_screen_width/heightZenWalker3-10/+25
2017-08-18avoid deprecated gdk_screen_get_widthZenWalker1-1/+3
2017-08-14display: don't use deprecated GDK_DEVICE_MANAGERraveit651-2/+14
use GtkSeat for > gtk+-3.20
2017-08-14tools: remove marco-mag and marco-grayscaletoolsraveit653-409/+0
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
2017-08-14Fix synthetic keybinding/button-grab window (#342)Victor Kareh2-0/+22
* 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
2017-08-11Forces a window scale of 1 for the window manager, instead of using the ↵Martin Wimpress1-0/+5
default or user configured scale. Closes #335 (#336)
2017-07-29avoid deprecated gdk_display_get_screenZenWalker13-35/+19
2017-07-15avoid deprecated gdk_screen_get_numberZenWalker1-1/+1
2017-07-14Alt/tab - define arrow keycode + numpad arrowsPierre-Louis Dubouilh2-2/+8
2017-07-14Allow use of arrows while in alt+tab popupPierre-Louis Dubouilh1-0/+9
2017-06-27ui: Fix invalid object construction in framesIkey Doherty1-4/+0
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]>
2017-06-05keybindings: remove uppercase from "current workspace"monsta1-1/+1
for consistency with all the other bindings
2017-06-05Added hotkey to rename current workspaceFelipe Barriga Richards6-0/+259
2017-05-10Revert "compositor: fix possible crash closing/destroying window"raveit653-32/+9
This reverts commit 768fdd8d3852e67555a585da28b6404a97853cbd. fixes probably "strange window switching foreground/background behavior" https://github.com/mate-desktop/marco/issues/251
2017-04-23ui: avoid deprecated GdkDeviceManagerAlberts Muktupāvels1-0/+9
taken from: https://git.gnome.org/browse/metacity/commit/?id=7ec9a6f
2017-04-23build: Use non-deprecated feature test macrosDmitry Shachnev4-4/+4
_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
2017-04-23tile-preview: avoid a deprecation warningAlberts Muktupāvels1-3/+4
Taken from: https://git.gnome.org/browse/metacity/commit/?id=3380502
2017-03-13schema: make compositing on by defaultmonsta1-1/+1
2017-02-07theme-viewer: don't use deprecated gtk_widget_override_fontraveit651-1/+23
taken from: https://git.gnome.org/browse/metacity/commit/?id=02fa1e1
2017-02-07theme-viewer: don't use deprecated GtkAlignmentraveit651-17/+10
taken from: https://git.gnome.org/browse/metacity/commit/?id=66d54f5
2017-02-07theme-viewer: port GtkAction to GActionraveit651-86/+113
2017-02-07theme-viewer: don't use deprecated gtk_scrolled_window_add_with_viewportraveit651-2/+2
2017-02-07theme-viewer: port GtkTable to GtkGridraveit651-38/+36
2017-01-30workspace: switch wrapping behavior for 'classic' and 'toroidal'Kevin S.C. Decker1-10/+10
2017-01-17Added functionality to ignore applications while show-desktop is triggeredIllia Danko4-3/+61
2017-01-06theme-viewer: use GtkStyleContextmonsta1-10/+22
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
2017-01-06theme-viewer: use GdkRGBA instead of GdkColormonsta1-14/+17
2017-01-06theme-viewer: remove unused codemonsta1-307/+0
same as done upstream: https://git.gnome.org/browse/metacity/commit/?id=93e8c8d8b399200291965357f893fff404426eae
2016-12-05Added functionality to disable display preselected tab window borderIllia Danko6-42/+84
2016-11-25actually build theme-viewermonsta1-7/+4
2016-11-25theme-viewer: fix buildmonsta1-9/+10
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta36-3443/+77
2016-05-17fix a typo with deprecated GtkMiscraveit651-2/+2
2016-05-03GTK+3 fixedtip: add style class tooltipraveit651-0/+1
2016-04-12fix crash on showing alt-tab thumbnails with compositor on (GTK+2)monsta1-4/+4
was my mistake in 9212dacb2bfd5985d8426bf0bdb88f2aca03444e :-/
2016-03-09proper description of compositing-fast-alt-tab keymonsta1-2/+2
2016-03-09remove duplicate function declarationmonsta1-2/+0
2016-03-03[GTK+3] re-add ability to show alt-tab thumbnails when compositor is onmonsta7-11/+114
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
2016-03-03fix typo in b4d2708dbae8708fe4e50b2fb4d823c20d9d829amonsta1-1/+1
2016-02-28GTK+3: Get values from GtkStyleContext states properlyraveit652-2/+14
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 ()
2016-02-05Bump libmarco-private's sover when Gtk3Sorokin Alexei1-1/+5
2016-01-25fix dprecated GtkMiscWolfgang Ulbrich4-5/+10
2016-01-21[GTK+3] theme viewer: fix deprecated usage of GtkHButtonBoxmonsta1-0/+4
2016-01-10Avoiding conditional directives that break statements.Romero Malaquias1-4/+8
2016-01-02drop MateConf migration scriptMonsta2-159/+0
2015-12-31window: remove excessive initializationmonsta1-1/+0