summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-08-18Fix 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-06-30ui: 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-05-10ui: avoid deprecated GdkDeviceManagerAlberts Muktupāvels1-0/+9
taken from: https://git.gnome.org/browse/metacity/commit/?id=7ec9a6f
2017-05-10build: 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-05-10tile-preview: avoid a deprecation warningAlberts Muktupāvels1-3/+4
Taken from: https://git.gnome.org/browse/metacity/commit/?id=3380502
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-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
2015-12-17compositor-xrender: include old shape in damageAlberts Muktupāvels1-0/+27
https://bugzilla.gnome.org/show_bug.cgi?id=755001
2015-12-11add a missing line from metacitymonsta1-0/+1
line is taken from https://github.com/GNOME/metacity/commit/632d3983fbc402432c6ceae05bea8903ad2f11c0 was forgotten in https://github.com/mate-desktop/marco/commit/ad9db61aabc2cbf743a1157ddc42ff76127f3fab
2015-12-02Gtk3: fix a fogotten GtkMisc deprecationWolfgang Ulbrich1-0/+7
2015-12-02GTK3: fix GtkMisc deprecation fixes for gtk+-3.14Wolfgang Ulbrich2-5/+5
2015-12-02Gtk+-3.14 tabpopup.c: don't use deprecated GtkAlignmentWolfgang Ulbrich1-0/+12
taken from: https://git.gnome.org/browse/metacity/commit/?id=5aeb6e9
2015-12-02Gtk+-3.14 tabpopup.c: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+5
partially taken from: https://git.gnome.org/browse/metacity/commit/?id=51b9e57
2015-12-02Gtk+-3.14 resizepopup.c: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+7
taken from: https://git.gnome.org/browse/metacity/commit/?id=1f2ea05
2015-12-02Gtk+-3.14 menu.c + metaaccellable.c: don't use deprecated GtkMiscWolfgang Ulbrich2-0/+25
taken from: https://git.gnome.org/browse/metacity/commit/?id=7a5c50c
2015-12-02Gtk+-3.14 fixedtip.c: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+5
taken from: https://git.gnome.org/browse/metacity/commit/?id=e00996a
2015-12-02Gtk+-3.16 draw-workspace.c: don't use deprecated ↵Wolfgang Ulbrich1-0/+25
gtk_style_context_get_background_color partially taken from: https://git.gnome.org/browse/metacity/commit/?id=33ad43f
2015-12-02GTK+-3.16: don't use deprecated gtk_widget_override_background_colorWolfgang Ulbrich1-0/+26
partially taken from: https://git.gnome.org/browse/metacity/commit/?id=542a2b4
2015-11-20Gtk3: fix colorsBalló György1-0/+4
Add GTK_STYLE_CLASS_BACKGROUND class to context, so we have correct colors from the GTK+ theme instead of white text over black background.
2015-11-18GTK3 fixedtip: use a tooltip styleWolfgang Ulbrich1-32/+70
- this fixes the bg/fg color mismatch between normal tooltips, which are styleable in themes taken from: https://git.gnome.org/browse/metacity/commit/?id=3aa71b7
2015-11-08Revert "Merge pull request #115 from Samsagax/animation-fix-clean"Monsta4-148/+83
This reverts commit 567890a8a1884247de29e9f97cf9cd8110247c04, reversing changes made to a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95.
2015-10-26window: initialize fullscreen to FALSEAlberts Muktupāvels1-0/+1
This fix random bug when applications without reason opens in fullscreen mode.