Gimp/app/tests
Michael Natterer 843866e7e7 app: make things behave more reasonable with multiple monitors
There is now a preference option that determines whether windows
should be opened on the same monitor as before. It should be disabled
when the machine gets monitors plugged/unplugged dynamically ("laptop")
and enabled when there is a static multi-monitor setup ("wokstation").
This is merely the current simplistic policy on top of the newly added
underlying infrastructure:

- pass integer monitor numbers around in all places where we already
  pass around a GdkScreen. Pass the "current" monitor to these changed
  APIs, where "current" is either the monitor where the action-triggering
  widget is, or if that is unavailable the monitor where the mouse is.

- add gimp_widget_get_monitor() in order to easily get to the monitor,
  just like gtk_widget_get_screen().

- add screen and monitor parameters in some places that were missed
  before.

- in sessionrc, save all window positions relative to the window's
  monitor, and save the monitor separately, if it's not the screen's
  primary monitor.

- when restoring window positions, use the stored monitor when the new
  prefs options says so (use the screen's primary monitor if there is
  no stored monitor), otherwise use current monitor that is now passed
  around.
2014-05-02 03:01:23 +02:00
..
files app: modified and moved gegl operation testing to operations/tests 2012-06-14 21:30:00 +03:00
gimpdir tests: sessionrc-expected* updated with new (tabs-position) settings. 2013-10-13 22:22:21 +13:00
gimpdir-empty app/tests: Distribute test files and test directories 2010-01-08 13:37:25 +01:00
.gitignore Add automake 1.13+ test outputs to .gitignore 2014-01-10 15:31:34 -08:00
gimp-app-test-utils.c app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
gimp-app-test-utils.h app: fixed typos in testing code 2012-06-05 22:03:26 +03:00
gimp-test-session-utils.c Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
gimp-test-session-utils.h app/tests: Add single-window mode session files test 2011-06-14 23:34:12 +02:00
Makefile.am app: link the tests against lcms 2014-03-16 19:52:17 +01:00
manual-testcases.txt Bug 565459 - newly opened images are put into the background 2010-06-23 20:17:44 +02:00
test-core.c app: fix tests after the GimpPrecision enum change 2013-06-23 17:24:03 +02:00
test-gimpidtable.c Remove all calls to g_type_init(), it's deprecated 2013-05-25 22:44:20 +02:00
test-save-and-export.c app: port all URI comparisons in test-save-and-export.c to g_file_equal() 2013-10-09 21:35:23 +02:00
test-session-2-6-compatibility.c Bug 709878 - test-session-* skipped when xvfb-run is unavailable. 2013-10-11 21:57:42 +13:00
test-session-2-8-compatibility-multi-window.c Bug 709878 - test-session-* skipped when xvfb-run is unavailable. 2013-10-11 21:57:42 +13:00
test-session-2-8-compatibility-single-window.c Bug 709878 - test-session-* skipped when xvfb-run is unavailable. 2013-10-11 21:57:42 +13:00
test-single-window-mode.c app/tests: The single-window-mode setting is in the sessionrc now 2012-01-10 19:47:52 +01:00
test-tools.c app/tests: Use gdk_window_get_display() 2011-04-06 21:05:24 +02:00
test-ui.c app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
test-xcf.c app: fix tests after the GimpPrecision enum change 2013-06-23 17:24:03 +02:00