summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-12-20Fixes windows not going to save_rect when unmaximimizingOmar Zeidan2-1/+5
2017-12-20Allow horizontal and vertical resizing when corner tiledOmar Zeidan4-123/+207
2017-12-20Fixes window getting reset to saved_rect when untiling from cornerOmar Zeidan2-3/+4
2017-12-20Added keybindings for corner tilingOmar Zeidan3-0/+48
2017-12-20Implemented simple corner tiling by mouse dragOmar Zeidan6-49/+121
2017-12-20WidthOfScreen and HeightOfScreen implementationPablo Barciela4-28/+15
This commit reverts: https://github.com/mate-desktop/marco/commit/f0541e3dfda29c26fe14c9c9117f95c49006c75c https://github.com/mate-desktop/marco/commit/d18c2fb4acb58c408c01700682b9922de86e8b2f And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_width gdk_screen_height
2017-11-10XFIXES regions are leaked during paint_windows if more than oneJan Burgmeier1-2/+9
META_COMP_WINDOW_DESKTOP is available (#329)
2017-11-10Add stricter logic for running without XPresent supportVictor Kareh3-31/+33
2017-11-10Make XPresent optionalVictor Kareh1-18/+39
2017-11-10Remove debug outputVictor Kareh1-18/+3
2017-11-10Add in some changes from xfwm4Victor Kareh1-66/+155
2017-11-10Cancel present_pending flag when erroring outVictor Kareh1-11/+31
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