- 24 Jun, 2019 1 commit
-
-
Ting-Wei Lan authored
On FreeBSD, gethostname is guarded by '__POSIX_VISIBLE >= 200112', which requires either '_POSIX_C_SOURCE >= 200112' or '_XOPEN_SOURCE >= 600'. Defining _XOPEN_SOURCE to 500 does not break the build because of implicit declaration, but it defeats the purpose of defining the macro. GNOME/mutter!638
-
- 28 Feb, 2019 1 commit
-
-
Niels De Graef authored
!361
-
- 13 Feb, 2019 3 commits
-
-
Marco Trevisan authored
GNOME/mutter!421
-
Marco Trevisan authored
GNOME/mutter!421
-
Marco Trevisan authored
GNOME/mutter!421
-
- 26 Nov, 2018 1 commit
-
-
Florian Müllner authored
It's a UI pattern that has been superseded by client-side decorations, apps that used to set the hint have generally moved on to headerbars. Given that and the limitation to server-side decorated X11 windows, GTK4 removed the client-side API for setting the hint, it's time to follow suite and retire the feature. GNOME/mutter!221
-
- 06 Nov, 2018 1 commit
-
-
Jonas Ådahl authored
The order and way include macros were structured was chaotic, with no real common thread between files. Try to tidy up the mess with some common scheme, to make things look less messy.
-
- 12 Oct, 2018 2 commits
-
-
Florian Müllner authored
The WM_NAME property is of type TEXT_PROPERTY, which is supposed to be returned as UTF-8. Commit 840378ae broke that assumption, resulting in crashes with non-UTF8 locales; however the "fix" of converting from LATIN1 to UTF8 is wrong as well, as the conversion will spit out garbage when the input encoding isn't actually LATIN1. Now that the original issue in text_property_to_utf8() has been fixed, we can simply revert the relevant bits of commit d62491f4. GNOME/mutter!227
-
Jonas Ådahl authored
For some reason Gitlab pushed the wrong commits when merging GNOME/mutter!227. Correct that. This reverts commit d387aa42.
-
- 11 Oct, 2018 1 commit
-
-
Akira Nakajima authored
-
- 06 Jul, 2018 10 commits
-
-
-
Armin Krezović authored
Also rename meta_error_trap_* to meta_x11_error_trap_* and move meta-x11-errors.c to src/x11 https://bugzilla.gnome.org/show_bug.cgi?id=759538
-
-
Armin Krezović authored
This moves following objects from MetaScreen to MetaDisplay - workareas_later and in_fullscreen_later signals and functions - startup_sequences signals and functions - tile_preview functions https://bugzilla.gnome.org/show_bug.cgi?id=759538
-
-
-
-
-
Armin Krezović authored
They are X11 specific functions, used for X11 code. They have been improved per jadahl's suggestion to use gdk_x11_lookup_xdisplay and gdk_x11_display_error_trap_* functions, instead of current code. https://bugzilla.gnome.org/show_bug.cgi?id=759538
-
Armin Krezović authored
- Moved xdisplay, name and various atoms from MetaDisplay - Moved xroot, screen_name, default_depth and default_xvisual from MetaScreen - Moved some X11 specific functions from screen.c and display.c to meta-x11-display.c https://bugzilla.gnome.org/show_bug.cgi?id=759538
-
- 27 Apr, 2017 1 commit
-
-
Florian Müllner authored
Since we started caching frame borders in commit b4036e06, we need to invalidate the cache for changes of the GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED property to take effect immediately. https://bugzilla.gnome.org/show_bug.cgi?id=781862
-
- 15 Nov, 2016 1 commit
-
-
Carlos Garnacho authored
Some applications like Wine may choose to juggle the same user time window across different toplevels, in that case we receive warnings when trying to register the window a second time, leading to wrong accounting. If the window was already used as the user time window for another toplevel, unset it from the previous MetaWindow owner, and unregister so the registration with the new MetaWindow is successful. https://bugzilla.gnome.org/show_bug.cgi?id=774330
-
- 20 Jul, 2016 1 commit
-
-
Jonas Ådahl authored
We define it here and there already, and if we are to include private cogl files, we need it in more places. Lets just add it everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=768976
-
- 07 Jun, 2016 1 commit
-
-
Rui Matos authored
gjs throws exceptions on non UTF-8 strings which, in some cases, crash gnome-shell. ICCCM string properties are defined to be Latin-1 encoded so we can try to convert them to avoid it. Note that _NET_WM_NAME is defined to be UTF-8 and we already validate it in utf8_string_from_results() . https://bugzilla.gnome.org/show_bug.cgi?id=752788
-
- 23 Nov, 2015 1 commit
-
-
Rui Matos authored
If a client only ever sets the hint on window creation we'd never pick the value. Also, include override redirect windows since the hint is relevant to them too. https://bugzilla.gnome.org/show_bug.cgi?id=758544
-
- 30 Jul, 2015 1 commit
-
-
Rui Matos authored
This was introduced in commit c6793d47 to prevent window self-maximisation. It turns out that that bug seems to have been fixed meanwhile in a different way since the reproducer in https://bugzilla.gnome.org/show_bug.cgi?id=461927#c37 now works fine with this special handling removed. In fact, failing to set window->fullscreen immediately when loading the initial set of X properties causes us to create a UI frame for a window that sets _NET_WM_STATE_FULLSCREEN. This, in turn, might cause the fullscreen constrain code to fail if the window also sets min_width/min_height size hints to be the monitor size since the UI frame size added to those makes the rectangle too big to fit the monitor. If the window doesn't set these hints, we fullscreen it but the window will get sized such that the UI frame is taken into account while it really shouldn't (see the reproducer above). https://bugzilla.gnome.org/show_bug.cgi?id=753020
-
- 24 Jun, 2015 1 commit
-
-
Jasper St. Pierre authored
Fixes some CSD windows sometimes getting frames when they totes shouldn't.
-
- 23 Jun, 2015 1 commit
-
-
Jasper St. Pierre authored
-
- 13 Feb, 2015 1 commit
-
-
Cosimo Cecchi authored
Saves some code. https://bugzilla.gnome.org/show_bug.cgi?id=744500
-
- 01 Jan, 2015 1 commit
-
-
Jasper St. Pierre authored
Add frame.c wrappers for the missing calls, then adapt.
-
- 19 Sep, 2014 3 commits
-
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
GTK+ sets the frame extents on every allocation, so don't bother doing any extra work if things are the same.
-
Jasper St. Pierre authored
Wayland doesn't use custom frame extents anymore -- it uses a full geometry description.
-
- 13 Aug, 2014 1 commit
-
-
Jasper St. Pierre authored
-
- 02 Aug, 2014 1 commit
-
-
Florian Müllner authored
Since commit a7b72130, we rely on the standard property system to initialize the window type (and likewise for the window role since commit 031154a4). However as property hooks are never run for properties that are not set, we end up not initializing the window type correctly for windows with no _NET_WM_WINDOW_TYPE property (which includes virtually all OR windows, causing them to show up in pagers and the Shell overview and resulting in frequent crashes due to breaking reasonable assumptions all over the place). Introduce a new FORCE_INIT flag to allow forcing hooks to run even when the corresponding property is unset, and use it for both _NET_WM_WINDOW_TYPE and _NET_WM_WINDOW_ROLE.
-
- 14 Jul, 2014 2 commits
-
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
We already have the property value from our property fetching.
-
- 10 Jul, 2014 3 commits
-
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
Properties like _NET_WM_DESKTOP and _NET_WM_STATE are supposed to be ignored after the initial map of the window, so ignore any PropertyNotifies for these.
-
Jasper St. Pierre authored
This allows us to extend the table better with newer flags.
-