diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-15 14:53:29 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-15 14:53:29 -0500 |
| commit | 3c688bc4a75436a457d3ce693eda6bd6b329412f (patch) | |
| tree | 6440dcff623cf0a36d9b72217ad6d15aa97e8a6c /openbox/screen.h | |
| parent | 828c095c8b5a2df96a38faaeb8a0df504e68e70f (diff) | |
Make the NET_WORKAREA hint work the way it used to, across all monitors
The spec is not going to change this hint, but rather add a new one. So for now
just revert to the old behaviour.
Diffstat (limited to 'openbox/screen.h')
| -rw-r--r-- | openbox/screen.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/openbox/screen.h b/openbox/screen.h index 4a8d8a1e..16903300 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -110,10 +110,18 @@ guint screen_monitor_active(void); Rect *screen_physical_area_active(void); -/*! Returns the primary monitor, as specified by the config */ -guint screen_monitor_primary(void); +/*! Returns the primary monitor, as specified by the config. + @fixed If TRUE, then this will always return a fixed monitor, otherwise + it may change based on where focus is, or other heuristics. + */ +guint screen_monitor_primary(gboolean fixed); -Rect *screen_physical_area_primary(void); +/*! Returns physical area for the primary monitor, as specified by the config. + @fixed If TRUE, then this will always use a fixed monitor as primary, + otherwise it may change based on where focus is, or other heuristics. + See screen_monitor_primary(). +*/ +Rect *screen_physical_area_primary(gboolean fixed); /* doesn't include struts which the search area is already outside of when 'search' is not NULL */ |
