| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Nothing uses GdkScreen anymore, so we can get rid of it.
|
|
|
|
|
| |
This type is going away, so switch to using GdkX11Screen
everywhere.
|
|
|
|
| |
This is not longer used.
|
|
|
|
| |
We are not using it anymore.
|
|
|
|
| |
This function is no longer used.
|
|
|
|
|
|
|
|
| |
GTK+ now uses the gtk-xft-dpi setting directly.
Note: this commit only fixes the backends that
currently provide this setting. The win32 and
Quartz backends still need to be fixed.
|
|
|
|
| |
It has been replaced by gdk_display_get_setting.
|
|
|
|
| |
We can now call the GdkDisplay implementation instead.
|
|
|
|
| |
These are now just used internally in GDK.
|
|
|
|
|
| |
gdk_screen_list_visuals(), gdk_screen_get_system_visual() and
gdk_screen_get_rgba_visual() are gone now.
|
|
|
|
|
|
|
|
| |
Switch code to use gdk_display_is_composited() instead.
The new code also doesn't use a vfunc to query the property but rather
requires the backend to call set_composited()/set_rgba() to change the
value.
|
|
|
|
|
| |
font options are only ever set by the GtkSettings object and only ever
used inside GTK, so just store them there.
|
|
|
|
| |
It's identical to gdk_display_get_name().
|
|
|
|
|
|
|
|
|
|
|
| |
... and gdk_screen_get_window_stack().
Those functions were originally added in
5afb4f0f116f0e8a200dd55cc6688a957b4d397c but do not seem to be used as
they are not implemented anywhere but in X.
As GDK is not meant to fulfill window management functionality I'm going
to remove these functions without replacements.
|
|
|
|
| |
It's useless everywhere but in internal X11 code.
|
|
|
|
|
|
|
|
|
| |
... and gdk_screen_get_width_mm() and gdk_screen_get_height_mm() and
the shortcut counterparts that call these functions on the default
screen.
Modern display servers don't provide an ability to query the size of a
screen or display so we shouldn't allow that either.
|
| |
|
|
|
|
|
|
|
| |
This was forgotten when the other screen monitor apis were
ported to GdkMonitor.
https://bugzilla.gnome.org/show_bug.cgi?id=771349
|
|
|
|
| |
Implement all the monitor-related GdkScreen apis based on GdkMonitor.
|
|
|
|
|
| |
Explicitly state where we return application pixels as opposed
to device pixels.
|
| |
|
| |
|
|
|
|
|
| |
The values returned by these functions are not very well defined,
recommend to use the monitor dimensions instead.
|
|
|
|
|
| |
Worth mentioning that workarea may not exist, and that we
return the full monitor geometry in that case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gdk_x11_display_set_window_scale() affects the interpretation of the
Xft/DPI XSETTING - it is substituted inside GDK with the value of
Gdk/UnscaledDPI xsetting. However, this change is not propagated to
GTK+ and from GTK+ back to gdk_screen_set_resolution() until the
main loop is run.
Fix this by handling the screen resolution directly in gdk/x11.
This requires duplication of code between GDK and GTK+ since we still
have to handle DPI in GTK+ in the case that GdkSettings:gtk-xft-dpi
is set by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=733076
|
|
|
|
|
| |
Otherwise, the spinbutton in the inspectors property editor
explodes in order to make room for MAXDOUBLE.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=729983
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=729834
|
|
|
|
| |
Instead of Return value:
|
|
|
|
|
|
|
| |
This reverts commit 2b95d1a34ed7cd70ea3eaaa9b7d8add200b5a9d2.
Conflicts:
gdk/gdkscreen.c
|
|
|
|
|
| |
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
|
| |
|
| |
|
| |
|
|
|
|
| |
https://wiki.gnome.org/Design/OS/Typography
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Unless GDK_RGBA=0 is set, this will be the RGBA visual.
The new function is called gdk_screen_get_preferred_visual().
https://bugzilla.gnome.org/show_bug.cgi?id=630217
|
| |
|
|
|
|
|
| |
These report the internal scaling factor, mapping from UI pixels
to hardware pixels.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Move g_return_if_fail() stuff from the backends to the public
functions in gdkscreen.c itself, and some fixes for ugly formatting in
the various gdkscreen-backend.c files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function returns the part of a monitors area that should be
used for positioning popups, menus, etc. The only non-trivial
implementation atm is in the X backend, all the other backends
just return the full monitor area. The X implementation is
currently suboptimal, since it requires roundtrips to collect
the necessary information. It should be changed to monitor
the properties for changes, when XFixes allows to monitor
individual properties.
https://bugzilla.gnome.org/show_bug.cgi?id=641999
|
|
|
|
|
| |
Mostly making sure that return values and varargs don't loose
their docs.
|
|
|
|
|
| |
Reorganize some sections, drop the largely redundant multihead
section, add some more information about multiple backends.
|
|
|
|
|
|
|
|
|
|
|
|
| |
... and all APIs making use of it.
That code like it hasn't been touched in years, Google codesearch
didn't find any users and most importantly it's a horrendous API, so
let's just make it die instead of having to port it over to
non-GdkNativeWindow usage, which would be required for multi-backend
GDK.
http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00049.html
|
|
|
|
|
| |
At the same time, move some more class and instance structs
out of public headers.
|