summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2015-10-26window: initialize custom_frame_extentsAlberts Muktupāvels1-0/+6
2015-10-26constraints: take into account _GTK_FRAME_EXTENTSmonsta1-26/+78
ported from https://git.gnome.org/browse/metacity/commit/?id=8f699b71bd7e5581ec2f2804ea9650597618dfe1
2015-10-26effects: remove hack that made Marco crash in certain situationsAlberts Muktupāvels1-20/+1
fixes https://github.com/mate-desktop/marco/issues/200 ported to Marco from https://github.com/GNOME/metacity/commit/f25b7760b7430b674afdb4de1e2072cd99ea3fbc
2015-10-23Fix 'center-new-windows' summary and descriptionMichael Steenbeek1-2/+2
2015-10-13Revert "Repaint area of deleted shadowed windows (fixes #27)"Monsta1-19/+0
This reverts commit b53fb913abe7da1e8d56bd50151f673c90cf121d. Fixes https://github.com/mate-desktop/marco/issues/226
2015-10-13use Alt-` for switching between windows of the same applicationMonsta1-1/+1
closes https://github.com/mate-desktop/marco/issues/90
2015-09-25Make center-new-windows true after all, and change the descriptionMonsta1-2/+2
to better match it. This reverts commit 8ca77c72992ab6c1ccf7191b1b38d967b2d68348.
2015-09-25Merge pull request #224 from dnk/assertionNo_name1-0/+2
gtk3: fix assertion 'gtk_widget_get_realized (widget)' failed
2015-09-25Merge pull request #221 from dnk/uninitialized_variableNo_name1-2/+1
gtk3: unintialized variable
2015-09-25Merge pull request #203 from bjlaur/masterNo_name1-1/+1
Reverting center-new-windows default to false.
2015-09-25Merge pull request #168 from robertek/swith_to_workspace_prevNo_name7-1/+33
Possible keybinding to switch to previous workspace.
2015-09-24gtk3: fix assertion 'gtk_widget_get_realized (widget)' failedDenis Gorodnichev1-0/+2
gtk3 can use style context before widget realization
2015-09-18gtk3: draw 1px tile borderDenis Gorodnichev1-6/+9
2015-09-18Revert "Remove unused function handle_run_terminal"infirit2-0/+39
This reverts commit 437b085f123f3c019bca2481000e936ee87e7c31.
2015-09-18gtk3: unintialized variableDenis Gorodnichev1-2/+1
2015-09-16Add manual and by-pointer window placementFaidon Liambotis7-1/+103
This adds a window placement preference: the existing behavior is now called "automatic" and is the default. Two new modes are being introduced: "pointer", which means that windows are placed according to the mouse pointer position; and "manual" which means that the user must manually place the new window with the mouse or keyboard. This is a straight port from muffin, commit 3257671.
2015-09-16tile-preview: Small cleanupinfirit1-9/+1
* GDK_DISPLAY_XDISPLAY and gdk_display_get_default are in Gtk2 * Get window from GdkEvent
2015-09-16preview-widget: Small GTK_CHECK_VERSION cleanupinfirit1-10/+5
2015-09-16ui: Small cleanupsinfirit1-19/+0
* No point in checking for Gtk2 with GTK_CHECK_VERSION in Gtk2 only code * We have gdk_x11_window_lookup_for_display in Gtk2.24
2015-09-16Remove more unused functionsinfirit2-119/+0
2015-09-15Remove unused function handle_run_terminalinfirit2-39/+0
2015-09-14Remove deprecated GTK+ symbols and use accessor functionsinfirit9-289/+339
Direct struct access has been deprecated, so use the appropriate replacements to build with GSEAL enabled.
2015-09-14compositor: fix possible crash closing/destroying windowAlberts Muktupāvels3-9/+32
2015-09-14compositor: don't use invalid back_pixmapAlberts Muktupāvels1-1/+6
XCompositeNameWindowPixmap can generate BadMatch error. If this error is generated then returned pixmap is not valid. Just set back_pixmap to None in case of error.
2015-09-14bump xcomposite required version to 0.3 and simplify codeAlberts Muktupāvels4-174/+58
Version 0.3 is available more then 8 years.
2015-09-14window: load NET_WM_USER_TIME from the right windowAlberts Muktupāvels1-1/+9
On subsequent changes, if there is a NET_WM_USER_TIME_WINDOW, then read the property from that rather than from the main window. (Fix an accidental regression: the right Window was being computed but no longer passed in.) Original patch author - Owen Taylor: https://bugzilla.gnome.org/show_bug.cgi?id=585979
2015-09-14theme: Rename button_rect() to get_button_rect()Florian Müllner1-6/+6
Basically it's odd to have "button_rect" be a function with all the foo_rect GdkRectangles around - renaming to get_button_rect() will free the name for the generically named "rect" once buttons are the only movable pieces in the frame. https://bugzilla.gnome.org/show_bug.cgi?id=741917
2015-09-14ui: Refactor the default image lookupJasper St. Pierre1-20/+15
2015-09-14xprop: Don't use GDK for reading text propertiesJasper St. Pierre3-37/+24
2015-09-14Don't allow multiline window titlesWilliam Jon McCann1-0/+2
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=683056
2015-09-14Work around Xlib 64-bit "specialness"Dan Winship1-0/+14
When putting 32-bit properties into longs on 64-bit architectures, XGetWindowProperty assumes the values are supposed to be signed, and so it sign-extends values greater than 0x7fffffff. So if they *aren't* supposed to be signed, we need to chop off the high bits ourselves. (Most CARDINAL-valued properties only end up using small values anyway, so it doesn't matter, but _NET_WM_WINDOW_OPACITY uses the full range, and so was previously failing on 64-bit machines.) https://bugzilla.gnome.org/show_bug.cgi?id=605678
2015-09-14Clean up antialiasing fixesOwen W. Taylor1-24/+11
Simplify the code by noting that when we have square end-caps, the results of generic line path give the right pixel-aligned rectangle for horizontal/vertical lines. Add comments and remove some extra braces. https://bugzilla.gnome.org/show_bug.cgi?id=630426
2015-09-14Fix typoinfirit1-1/+1
2015-09-14Drop deprecated use of GTK_WIDGET_DRAWABLE, GTK_WIDGET_STATE and ↵infirit2-10/+2
gtk_widget_set_uposition
2015-09-14Drop deprecated use of gtk_signal_connect_fullinfirit1-18/+0
2015-08-31check for GTK+ release, not pre-releaseMonsta1-1/+1
2015-08-29Repaint area of deleted shadowed windows (fixes #27)bl0ckeduser1-0/+19