Age | Commit message (Collapse) | Author | Files | Lines |
|
Which should hopefully make the icons a bit clearer.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
msd_media_keys_window_set_action_custom
Since brightness OSD has been moved to m-p-m, there is no any situation
to use show_level in msd_media_keys_window_set_action_custom, should
remove this argument.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Screen brightness OSD has been moved from m-s-d to m-p-m, see:
https://github.com/mate-desktop/mate-power-manager/commit/4fd2ae34e50e63ef562356f804dbdea81341f4e2
So remove test for brightness OSD icons in m-s-d.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Add support for the XF86Bluetooth and XF86WLAN media keys.
The first one will toggle Bluetooth on/off, as the Bluetooth panel
does, the latter one will toggle the global software killswitch.
The reasoning XF86WLAN media key toggling the global software
killswitch is that:
- we don't have a killswitch for only WiFi
- there are very very few laptops with a UWB killswitch button, if
anyone actually remembers what UWB actually is
- there are no XF86 keys for the global killswitch, so they usually
get mislabeled as the WLAN killswitch
from https://github.com/GNOME/gnome-settings-daemon/commit/3fa0f7260a6864dfe67bdbd82b22b168e1e66457
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
from https://github.com/GNOME/gnome-settings-daemon/commit/444af32e343a79ca3db0f957bf73687a0f0df9ec
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Some laptops have a setting hotkey. This is bound by default to
XF86Tools. Add shortcut to start mate-control-center to support it.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
To be controllable by theme, use the touchpad enabled/disabled icons
in mate-icon-theme. Refer to mate-icon-theme commit "add icons for
touchpad": 932961db50aaea23b953a79e0967385bf66a12ea
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Using hard-coded keys.
This requires new keycodes added to X.org in:
https://bugs.freedesktop.org/show_bug.cgi?id=31300
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To distinguish it more quickly from mirror(clone) item and rotation items. Also show it only if icons in menus are turned on
|
|
Add menuitem for mirroring same output to all displays
Toggle between mirrored mode and xinerama mode (displays all on, laid out left to right)
|
|
When enabling org.mate.interface window-scaling-factor-qt-sync (default), m-s-d will attempt to set QT_SCALE_FACTOR during the init phase.
When disabled, the user can then choose to control this env var elsewhere.
|
|
Rotations can't be appled to a turned-off monitor. Also follow the display capplet color theme for monitors that have been turned off in the default monitor label background color
|
|
Add menu item to allow turning a monitor on or off from the popup menu. Borrow code from m-s-d display capplet to set geometry when a monitor is turned on. Turning on a monitor now works the same was as when turning it on but not reconfiguring it in mate-control-center's display capplet
|
|
|
|
Also ensure default bg images don't override label bg color, and don't use symbolic icon in GNOME HighContrast themes as it gets the disabled color
|
|
labels
|
|
|
|
|
|
Use the monitor label colors in the monitor label menuitems by default,
*Also move the border-width and style definitions to the second cssprovider, as otherwise they are set too late, and scrollbars result from attempted expansion of the popup
|
|
|
|
*Build a cssprovider from strings, use a variable to apply the same colors as used on the rectangles shown on each monitor to the matching label backgrounds in the popup menu. Bring back the draw callback to handle it, so necessary data can be passed to mate_rr_labeler_get_rgba_for_output
*Keep disabled item dimming effects off the monitor label icons
*Tie the dynamic cssprovider to the label so it always gets the correct color
|
|
|
|
|
|
|
|
Using black color makes the label unreadable with dark themes
|
|
This change is a super hacky way of supporting the fallback desktop background (without caja) on HiDPI displays. It does this by doing two things: using a new function that scales up the background surface; and by loading settings using an updated function that triggers a redraw.
|
|
This changes how the media-keys manager determines successful
key-bindings from KeyRelease to KeyPress so that it does not conflict
with third-party applications that want to use modifier keys as global
key-bindings. We've already done this change for general keybindings and
marco.
It also cleans up a bunch of deprectation warnings.
|
|
Also fix build warnings on xsettings
|
|
Also set QT_* env variables during init, and restart marco, mate-panel, toggle desktop icons when changing scales
|
|
This change allows for Xft/Gdk settings to be changed dynamically for
the scaling factor and font DPI. It also has an optional auto-detection
algorithm for the most appropriate settings to use for different screen
sizes and resolutions. The auto-detect is re-triggered whenever the
screen size changes.
|
|
|
|
* Support font size and mouse cursor auto-scaling for HiDPI displays
* Fix where DPI is getting scaled
* Remove ceil for scaled DPI
|
|
Fixes build warnings
|
|
this requires https://github.com/mate-desktop/mate-desktop/commit/b133f518f6f2310093fd3b5248049c7048cfb8d4
closes https://github.com/mate-desktop/mate-desktop/issues/296
|
|
format ‘%lld’ expects argument of type ‘long long int’, but argument has type ‘long int’
|