Commit Graph

47177 Commits

Author SHA1 Message Date
Matthias Clasen
6aa3d4cb37 window: Stop using gdk_screen_get_n_monitors 2016-04-10 23:52:00 -04:00
Matthias Clasen
b10ac55551 settings: Stop comparing screen numbers
There is only one screen.
2016-04-10 23:45:36 -04:00
Matthias Clasen
d4c187ffc7 window: Stop using screen width/height 2016-04-10 23:45:36 -04:00
Matthias Clasen
70cbbb148f treeview: Stop using screen width/height
Popups should always be placed relative to a monitor.
2016-04-10 23:45:36 -04:00
Matthias Clasen
7c1e9588b3 label: Stop using screen width/height
Popups should always be placed relative to a monitor.
2016-04-10 23:43:34 -04:00
Matthias Clasen
a1f86d0878 combobox: Stop using screen width/height
Popups should always be placed relative to a monitor.
2016-04-10 23:42:57 -04:00
Matthias Clasen
df19d99ebd gtk: Convert to new monitor api
Use the GdkDisplay monitor api instead of the GdkScreen one.
2016-04-10 23:01:10 -04:00
Matthias Clasen
1b86a7647b menu: Add new monitor api
This will work better with the new monitor api in gdk.
2016-04-10 22:59:53 -04:00
Matthias Clasen
df589e3cf6 x11: Fix include guards in gdkx11monitor.h 2016-04-06 07:24:55 -04:00
Matthias Clasen
31bf2677ba wayland: Fix include guards for gdkwaylanddmonitor.h 2016-04-06 07:24:33 -04:00
Matthias Clasen
fd586f7ade x11: Add gdk_x11_monitor_get_output 2016-04-05 16:53:04 -04:00
Matthias Clasen
ec0b81e1eb broadway: Move monitor to its own files 2016-04-05 07:32:33 -04:00
Matthias Clasen
e4e3d5c389 wayland: Minor cleanups 2016-04-05 07:17:18 -04:00
Matthias Clasen
f18e5d1ccb x11: Move monitor to its own files 2016-04-05 07:16:56 -04:00
Matthias Clasen
05b023980a wayland: Add api to get wl_outputs 2016-04-04 23:23:42 -04:00
Matthias Clasen
b348de178e wayland: Split off monitor into separate files 2016-04-04 23:15:42 -04:00
Matthias Clasen
acb0f796a0 docs: Adapt to api change 2016-04-04 23:04:03 -04:00
Matthias Clasen
7201a76a62 inspector: Adapt to api change 2016-04-04 23:03:46 -04:00
Matthias Clasen
62a1c0a8b4 broadway: Adapt to api change 2016-04-04 23:03:30 -04:00
Matthias Clasen
bbe69dbd4b x11: Adapt to api change 2016-04-04 23:03:03 -04:00
Matthias Clasen
589c7dd779 wayland: Adapt to api change 2016-04-04 23:02:41 -04:00
Matthias Clasen
a4929f0d28 Redo display monitor api once more
Don't return an array.
2016-04-04 23:02:06 -04:00
Matthias Clasen
4775aa24c7 notify for ::workarea changes
The workarea generally changes whenever the geometry is modified.
2016-04-03 23:38:08 -04:00
Matthias Clasen
e1a2f9bde7 More docs 2016-04-03 23:37:56 -04:00
Matthias Clasen
ef0ae6464f Add docs 2016-04-03 23:28:07 -04:00
Matthias Clasen
b7f3da23d1 x11: Fix hi-dpi handling 2016-04-03 22:38:29 -04:00
Matthias Clasen
7901fbfcf5 x11: fill in refresh rate 2016-04-03 20:23:17 -04:00
Matthias Clasen
73735acb29 Update todo 2016-04-03 20:03:02 -04:00
Matthias Clasen
ab76987099 x11: Implement workarea vfunc 2016-04-03 20:01:58 -04:00
Matthias Clasen
de2837056a Move some monitor apis to GdkDisplay 2016-04-03 20:01:20 -04:00
Matthias Clasen
0f37375c45 Implement workarea with a vfunc 2016-04-03 19:59:12 -04:00
Matthias Clasen
d3b2830a95 x11: Bring back fullscreen-on-all-monitors support
It is unfortunate the EWMH requires Xinerama here - lets do this
without the caching that was previously there, I don't think it is
needed.
2016-04-03 16:53:32 -04:00
Matthias Clasen
bdb891c015 inspector: Show primary too 2016-04-03 10:50:35 -04:00
Matthias Clasen
8ecf370601 inspector: Some code reorganization
Move the helper functions in the general tab around, and make them
more uniform.
2016-04-03 10:49:57 -04:00
Matthias Clasen
7a00f361f3 x11: Convert to new monitor api 2016-04-03 02:51:38 -04:00
Matthias Clasen
146fdaf2b8 x11: Drop Xinerama
It may come back after the monitor conversion.
2016-04-03 02:51:38 -04:00
Matthias Clasen
f0c8a78c67 broadway: Port to new monitor api 2016-04-03 02:48:39 -04:00
Matthias Clasen
b91c27c6f1 Fix up arrayification 2016-04-03 02:48:39 -04:00
Matthias Clasen
7aabbd39d9 inspector: Show more information for monitors 2016-04-03 02:48:38 -04:00
Matthias Clasen
12337c9751 inspector: Rename some variables 2016-04-02 19:48:50 -04:00
Matthias Clasen
a267c20531 inspector: Show better monitor label
We can now show the manufacturer as well.
2016-04-02 19:22:36 -04:00
Matthias Clasen
08fef8929e Add primary as convenience api 2016-04-02 19:06:28 -04:00
Matthias Clasen
ab4c086baf Some major reshuffling
Switch to array-based api in GdkDisplay, add monitor vfuncs in GdkDisplay,
and do away with the monitor vfuncs in GdkScreen.
2016-04-02 19:00:31 -04:00
Matthias Clasen
d04d12e0b5 Some more renaming 2016-04-02 17:16:16 -04:00
Matthias Clasen
b224d1df61 Add subpixel layout 2016-04-02 17:16:15 -04:00
Matthias Clasen
ad8483caad Add refresh rate 2016-04-02 17:14:48 -04:00
Matthias Clasen
7c81188f65 A bunch more renaming 2016-04-02 17:13:44 -04:00
Matthias Clasen
26fa5b6906 wayland: Remove unused field 2016-04-02 17:12:59 -04:00
Matthias Clasen
2196be62e3 Fixup for properties
Construct-only properties must be writable.
2016-04-02 14:44:32 -04:00
Matthias Clasen
cd2553c5c3 Rename physical size fields to _mm 2016-04-02 14:43:59 -04:00