| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
We don't want to expose depth anymore. If you need it, query the visual.
|
| |
|
|
|
|
| |
Try to do inclusions in the same sequence, more or less.
|
|
|
|
|
|
|
|
| |
In particular, the following functions are gone:
- gdk_screen_get_default_colormap()
- gdk_screen_set_default_colormap()
- gdk_screen_get_system_colormap()
- gdk_screen_get_rgba_colormap()
|
|
|
|
|
| |
... and implement it directly instead of using GdkGC, as GdkGC is about
to be deleted, but we need this code.
|
|
|
|
| |
The function is unused now.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
|
|
|
|
|
|
|
| |
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
|
| |
|
|
|
|
| |
svn path=/trunk/; revision=22582
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-21 Michael Natterer <mitch@imendio.com>
* gdk/gdkdraw.c
* gdk/gdkimage.c
* gdk/gdkscreen.c
* gdk/gdkwindow.c: replace assertions for obj != NULL by
GDK_IS_OBJ(), remove redundant != NULL checks when there is
already a type check, add some g_return_if_fail() that were
missing entirely, fix some broken indentation and spacing.
svn path=/trunk/; revision=21695
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-11 Sven Neumann <sven@gimp.org>
* gdk/gdkkeys.c
* gdk/gdkscreen.c
* gdk/gdkdisplaymanager.c: use canonical signal names.
svn path=/trunk/; revision=21059
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch and Tim
svn path=/trunk/; revision=20669
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
of gdk_screen_get_font_options() to gpointer to get rid of const
warning.
svn path=/trunk/; revision=19370
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
* Add RandR 1.2 support
- New monitors_changed signal - New API to get width/height of
monitors, and the name of the plug
svn path=/trunk/; revision=19173
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-05-22 Behdad Esfahbod <behdad@gnome.org>
Rollback the following changes, to fix it the proper way in Pango:
* gdk/gdkinternals.h:
* gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
(update_fontmap_resolution), (gdk_screen_set_resolution): Add new
function _gdk_screen_get_font_map() and have one fontmap per screen,
with the correct resolution set on it.
* gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
_gdk_screen_get_font_map() instead of setting resolution on the
PangoCairoContext. (#342529)
|