summaryrefslogtreecommitdiff
path: root/gdk/gdkscreenprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Handle resolution changes in the GDK backend codeOwen W. Taylor2014-07-131-0/+1
| | | | | | | | | | | | | | | 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
* Revert "Introduce API to get the preferred visual"Matthias Clasen2014-02-101-1/+0
| | | | | | | This reverts commit 2b95d1a34ed7cd70ea3eaaa9b7d8add200b5a9d2. Conflicts: gdk/gdkscreen.c
* Introduce API to get the preferred visualMatthias Clasen2014-02-041-0/+1
| | | | | | | 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
* add gdk_screen_ and gdk_window_get_scale_factor()Michael Natterer2013-07-031-1/+2
| | | | | These report the internal scaling factor, mapping from UI pixels to hardware pixels.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Add gdk_screen_get_monitor_workareaMatthias Clasen2011-12-181-0/+3
| | | | | | | | | | | | 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
* GdkScreen: Struct packing improvementsMatthias Clasen2011-04-121-3/+2
|
* Consistently hide class structsMatthias Clasen2010-12-241-0/+6
| | | | | And, since we've decided to keep the structs private, there is no point in having the standard GObject clas macros anymore either.
* Explode gdkinternals.h into per-class private headersMatthias Clasen2010-12-211-0/+98
At the same time, move some more class and instance structs out of public headers.