summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-rr.c
AgeCommit message (Collapse)AuthorFilesLines
2021-07-19Fix compilation warningzhuyaliang1-1/+8
2021-03-29Remove shadow warnings [-Wshadow]rbuj1-6/+2
2019-07-03Remove trailing whitespacesLaurent Napias1-117/+117
2019-01-29[mate-rr] Avoid deprecated g_type_class_add_privateWu Xiaotian1-3/+3
2018-08-15mate-rr: replace deprecated Gdk functionsraveit651-13/+23
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-10/+0
2016-11-20fix indent a bitmonsta1-3/+3
2015-09-02mate-rr: removed unused variableMonsta1-3/+0
2015-09-02mate-rr: unify laptop identification by output nameMonsta1-21/+21
adapted from https://git.gnome.org/browse/gnome-desktop/commit?id=113c7c8252531665d9e9090c6f48cd3f6b16e120 and https://git.gnome.org/browse/gnome-desktop/commit?id=d9f5e5f58e86798c48995e1abc36e7c43174d132
2015-09-02mate-rr: annotation fixesMonsta1-0/+54
mostly ported from https://git.gnome.org/browse/gnome-desktop/commit?id=6f1368bbc7d6649ed9340806def01ff00c407121
2015-09-02mate-rr: actually implement mate_rr_output_get_possible_crtcsMonsta1-0/+8
ported from https://git.gnome.org/browse/gnome-desktop/commit?id=11eb5b0d93e46d2d63e1b108b0cf659ab8f30c77
2015-09-02drop xrandr 1.2 compatibility (it's ancient)Monsta1-35/+9
2015-07-30Add annotations and fix documentation syntax warningsinfirit1-5/+5
2015-07-24rr: Embedded Display Port outputs considered as laptop's built-in displayMonsta1-1/+2
from https://github.com/GNOME/gnome-desktop/commit/11997d32313cd67f24cb26e18c562fa4b75ea36f
2015-07-24rr: fix crash when XRRSetCrtcConfig failsMonsta1-11/+12
from https://github.com/GNOME/gnome-desktop/commit/4a95c179de8920ee8f78ae5e1f05df173e9d5bd8
2014-12-09fix GTK+3 build - use GDK_WINDOW_XID for inter-GTK compatibilitymonsta1-1/+1
2014-11-28Don't fall over if RANDR is missinginfirit1-1/+2
When RANDR is not present, the screen object never gets an info, and since screen_info_free asserts, we must not call it unconditionally in finalize. Based on gnome-desktop commit: aa93854f2ba6b0f72f1bdff9699b5724a72c89c9 From: Matthias Clasen <[email protected]> Gnome bug: tps://bugzilla.gnome.org/show_bug.cgi?id=649053
2014-11-28Don't build some RANDR code if RANDR is not availableinfirit1-0/+4
Based on gnome-desktop commit: f89d8a582abbb79898a93d26a8c0f52f74b20bd2 From: Federico Mena Quintero <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=643940
2014-11-28Make the signal be MateRRScreen::changed, not screen-changed, to match the ↵infirit1-1/+1
vmethod name Based on gnome-desktop commit: cce5c87297ff8c163d4a29e1fc4e7277cbb4705a From: Federico Mena Quintero <[email protected]>
2014-11-28Turn the RANDR version checks into macrosinfirit1-12/+15
This makes them less error-prone to use. Also, fixes the master check for RANDR 1.2 in gnome_rr_screen_initable_init(), which wouldn't handle RANDR versions above 1.x. Based on gnome-desktop commit: 4da0756ef2e42b8040d8043029057b08e85efcec From: Federico Mena Quintero <[email protected]>
2014-11-28Turn GnomeRRConfig and GnomeOutputInfo into GObjectsinfirit1-95/+126
Based on gnome-desktop commits: 1d1f8ef64f404eccb29d384a75939701327e8e77 2c7a2e90fee98ff61e530098bc962a65dec670bc 7436f759bec00d87f597ef0b6945da8fa8969e85 From: Giovanni Campagna <[email protected]> Gnome Bug: https://bugzilla.gnome.org/show_bug.cgi?id=630913
2014-11-28Add support for GObjectIntrospectioninfirit1-13/+114
Turned all GnomeRR structures into boxed types, then added the needed annotations and the Makefile.am bits. Does not yet include API changes, but should bind (awfully) all of libgnome-desktop. Based on gnome commit: cad94246fb5be76482212407a380cd75f9e7b932 url: https://git.gnome.org/browse/gnome-desktop/commit/?id=cad94246fb5be76482212407a380cd75f9e7b932
2014-11-28Turn MateRRScreen into a GObjectinfirit1-125/+282
Rework MateRRScreen so that it is a full GObject, and all its data is moved to MateScreenPrivate. GObject's are more supported when it comes to introspection and bindings, in particular wrt constructors. Therefore, this is a necessary step for useful introspection generation. https://bugzilla.gnome.org/show_bug.cgi?id=630913 Based on gnome commit 4d2a27d55bcf9bb8de170ae6c6540724125aafa3 url: https://git.gnome.org/browse/gnome-desktop/commit/?id=4d2a27d55bcf9bb8de170ae6c6540724125aafa3
2014-06-05Use GDK_WINDOW_XID to get xid for both Gtk+ versionsinfirit1-5/+1
2013-07-24Move include files and remove old libmate and libmateui foldersStefano Karapetsas1-1/+1
2013-06-28GTK3 compatibility.Laszlo Boros1-0/+4
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-11-11[libmate-desktop] make error traps use the new GTK APIsJasmine Hassan1-0/+8
http://git.gnome.org/browse/gnome-desktop/commit/?id=da4d293870762064285231fba3a2a7c3c0d25838
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+1824