Commit Graph

1175 Commits

Author SHA1 Message Date
lenemter
43200bc0ff Use Source.REMOVE 2023-09-29 11:14:58 +02:00
Corentin Noël
f771b2a4ff
BackgroundSource: Keep a reference to the monitor manager (#1767) 2023-09-29 17:56:57 +09:00
lenemter
5f3245ead8 Don't use Gtk.init 2023-09-29 09:46:05 +02:00
Corentin Noël
151e5f0175 Add support for Mutter 45 2023-09-15 10:07:28 +02:00
Leo
5804d7fb08
Remove PluginFunction.DESKTOP (#1747) 2023-08-29 20:15:02 +09:00
Leo
2b34d8cf69
ScreenShield: respect animations key (#1744) 2023-08-28 06:25:04 +00:00
Leo
d6e37f3289
ScreenShield: remove unused signal (#1745) 2023-08-28 08:21:28 +02:00
Leo
a0b3025f3c
Kill workspace switch when opening multitasking view (#1735)
Co-authored-by: Ryan Kornheisl <ryan@skarva.tech>
2023-08-09 22:54:50 -04:00
Leo
b4a6a04d72
Use Meta.Window.is_on_primary_monitor () (#1731) 2023-07-20 06:36:21 +00:00
Leo
eef351e5df
Fix warnings (#1717) 2023-07-19 10:01:51 -07:00
Leo
0de3128cff
Use dark wallpaper (#1709)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-07-18 13:19:07 -07:00
Leo
6f38ee7464
WindowManager: A small cleanup (#1725)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-07-18 13:14:24 -07:00
Leo
e119dd5f62
Add shadow to wallpaper clones while switching workspace (#1726) 2023-07-18 12:54:55 -07:00
Leo
d0a21e2f53
Fix moving maximized and fullscreen windows to new workspace on launch (#1722) 2023-07-11 15:22:48 +02:00
Leo
b94ab5e8cd
Handle move-to-workspace-1-12 shortcuts directly (#1721)
Let it take the same codepath as the move to left/right
2023-07-11 14:46:48 +02:00
Leo
9ecb1da368
WindowSwitcher: Remove dark style css_provider if theme changes (#1707) 2023-07-06 13:27:55 +00:00
Leo
8e7940c439
Revert "WindowManager: Remove Meta.Later" (#1713)
Fixes #1712
2023-07-06 15:11:28 +02:00
Leo
3cf1d5c083
Keep track of dimmed windows (#1710)
That's an ugly solution but I guess it's the only working one. For some reason when double commander destroys its dialogs they no longer have transient window, because of that the undim failed.
2023-07-06 08:57:36 +00:00
Leo
5225c67c53
WindowManager: Remove Meta.Later (#1688) 2023-06-14 13:16:24 +00:00
Leo
cfb216b9f0
WindowSwitcher: Use Gtk later (#1686) 2023-06-14 15:13:35 +02:00
Leo
81f98c85f9
Tooltip: Use Gtk later (#1684) 2023-06-14 12:50:52 +00:00
lenemter
1a2a7fe29b Remove extra variable 2023-06-14 14:45:15 +02:00
lenemter
4c50eb2003 WindowClone: Use Gtk later 2023-06-14 14:45:15 +02:00
Leo
5c170b2e4e
Deduplicate ShadowEffect class (#1691) 2023-06-13 12:25:46 -07:00
Leo
878a918c53
Hardcode accent colors (#1683) 2023-06-13 11:46:58 -07:00
Corentin Noël
c26f0a0920 ShadowEffect: Only use Gtk widgetry at the pain stage
Avoid using Gtk at creation as the current display might not be existing.
2023-06-13 19:05:15 +02:00
Leo
3bf28b0ddf
Prototype colorblind correction filters (#1595) 2023-06-06 11:03:28 -07:00
Leo
85beeb8efd
Fix double icon when crossing icon group (#1670) 2023-05-02 10:29:13 -07:00
Leo
758379f955
WindowSwitcher: Scale shadow (#1665) 2023-05-01 21:49:19 +00:00
lenemter
879f60bce5 WindowSwitcher: Improve keyboard navigation 2023-04-28 19:23:32 +02:00
lenemter
dea4c471ed WindowSwitcherIcon: Correctly set scale factor 2023-04-28 19:10:58 +02:00
lenemter
f6f9d5e750 WindowSwitcher: Fix issues on first use 2023-04-27 19:47:38 +02:00
Corentin Noël
f6180279ee WindowManager: Use context for MonitorManager 2023-04-23 14:27:48 +02:00
David Hewitt
b89c9e034c Fix grab ops 2023-04-23 14:27:48 +02:00
David Hewitt
ad3bb631f5 Update scales 2023-04-23 14:27:48 +02:00
David Hewitt
4a9af312fa Update InternalUtils.vala 2023-04-23 14:27:48 +02:00
David Hewitt
503d699680 WindowManager: Always use the scale factor from primary monitor 2023-04-23 14:27:48 +02:00
David Hewitt
fc5cd3e2f7 Simplify input region clearing 2023-04-23 14:27:48 +02:00
David Hewitt
14767bfde7 WindowClone: support differing scales 2023-04-23 14:27:48 +02:00
David Hewitt
82ca34cbed WindowClone: scale factor stuff 2023-04-23 14:27:48 +02:00
David Hewitt
097cda8b6b Optimize animation calculation 2023-04-23 14:27:48 +02:00
Leo
5916b4f8a4
Window Dim: Use get_transient_for (#1659) 2023-04-18 10:14:43 +02:00
Leo
5b4acc7bec
Multitasking view: Respect animations key (#1656) 2023-04-17 20:08:51 +09:00
Corentin Noël
10e70a8a49
Avoid to use Gdk constants when Clutter should be used (#1596) 2023-04-14 17:24:18 +09:00
Leo
f932bdfbad
Handle cancel action in IconGroup animation (#1654) 2023-04-13 12:57:22 +02:00
Leo
7af203c820
IconGroup: Improve animation (#1653) 2023-04-12 10:37:57 -07:00
Leo
66477d16af
BackgroundManager: Update Wingpanel color after dimming wallpaper (#1652)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-04-12 15:34:38 +00:00
Danielle Foré
92447e6382
BackgroundManager: dark dim effect (#1651) 2023-04-12 17:47:30 +09:00
Leo
4ca08a2b45
MultitaskingView: Allow making screenshots of the screen (#1644) 2023-04-11 15:07:21 +00:00
David Hewitt
ffe31be93d
MultitaskingView: Support floating point scale factors (#1647) 2023-04-11 15:26:04 +02:00
David Hewitt
8904ba632d
MultitaskingView: Stack docks on top of workspace clones (#1646) 2023-04-11 12:53:26 +01:00
Leo
4d1fcace10
WindowSwitcher: Update caption width before opening (#1645) 2023-04-11 13:25:04 +02:00
Leo
7c379480d3
IconGroup: Correctly set highlight opacity on start (#1642) 2023-04-11 18:09:54 +09:00
Leo
e0ef54ce66
WindowSwitcher: Respect animations key (#1643) 2023-04-11 11:00:04 +02:00
Leo
b83a0231a7
WindowSwitcher: Merge icon and indicator (#1637) 2023-04-11 17:53:35 +09:00
David Hewitt
faaeb6547c
MultitaskingView: Ensure MonitorClones are visible on other monitors (#1640) 2023-04-11 09:08:26 +01:00
David Hewitt
d7993f415f
WindowIconActor: Support setting floating point scale on placement (#1636) 2023-04-11 08:46:11 +02:00
Leo
3f4dfa6877
WindowSwitcher: Fix rounded corners (#1638) 2023-04-10 19:41:02 +00:00
David Hewitt
3cdd535ef8
WorkspaceClone: Handle floating point scaling factors (#1635) 2023-04-08 09:26:42 +02:00
David Hewitt
051534a29f
InternalUtils: Remove pixel_align method, and just round (#1633) 2023-04-07 17:32:18 +01:00
David Hewitt
4393018d4d
WindowSwitcher: Support floating point scale factors (#1632) 2023-04-07 16:33:54 +01:00
David Hewitt
ff5914a745
NotificationStack: Support floating point scale factors (#1631) 2023-04-07 13:42:02 +00:00
David Hewitt
a39676e7a0
WorkspaceInsertThumb: Support floating point scale factors (#1629) 2023-04-07 10:50:02 +01:00
David Hewitt
e5ef835de1
IconGroup: Support floating scale factors (#1628) 2023-04-07 10:44:15 +02:00
Leo
ca807c669f
WM: Drop Meta.ShadowFactory (#1625) 2023-04-07 07:54:02 +09:00
David Hewitt
fb2d244112
HotCorners: Support floating point scale factors (#1627) 2023-04-06 14:17:33 +01:00
Leo
9bf04d24f5
KeyboardManager: Set keyboard layout on startup (#1626) 2023-04-06 20:11:16 +09:00
David Hewitt
8a57a860f6
WM: Init things that depend on GTK later (#1622) 2023-04-06 08:43:36 +00:00
David Hewitt
004e17a88f
ScreenshotManager: Support non-integer scaling factors (#1623) 2023-04-06 10:26:43 +02:00
David Hewitt
52735a2678
DwellClickTimer: Support non-integer, monitor specific scales (#1618) 2023-04-06 00:44:22 +09:00
Leo
75469b6321
Enable Alt + ~ to switch between windows of the same application (#1602) 2023-04-05 23:54:40 +09:00
David Hewitt
a630015b89
Utils: Remove bell (#1621) 2023-04-05 16:49:12 +02:00
David Hewitt
0c4204f399
WM: Add laters via compositor (#1619) 2023-04-05 13:56:42 +02:00
Leo
25de808a8b
Use translation-x for nudge animation (#1612)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-04-04 16:52:33 -07:00
Leo
9cb7c0e193
Don't manually map notifications while nudge animation is playing (#1611) 2023-04-04 19:08:11 +00:00
Leo
f7e8225775
Add previous/next workspace to available actions (#1614) 2023-04-04 19:02:44 +00:00
Leo
530a66ea2d
DnD: Don't disable reactivity (#1610) 2023-04-04 18:54:09 +00:00
David Hewitt
6da34ada40
PointerLocator: Support floating, monitor specific scale (#1606) 2023-04-04 19:46:30 +01:00
Leo
7599756924
Check if window can maximize before performing action (#1613) 2023-04-04 12:26:24 +02:00
Leo
415eed4d17
WindowClone: optimize ActiveShape (#1603) 2023-04-01 22:58:48 +09:00
David Hewitt
7eae3c1137
KeyboardManager: get backend from context (#1605) 2023-04-01 21:33:13 +09:00
David Hewitt
de41984e90
Get MonitorManager from context (#1604) 2023-04-01 13:18:15 +01:00
Leo
cd75c04428
Add keybindings for switching input source (#1600) 2023-03-30 16:58:17 +02:00
Leo
1a4c1e8f95
Avoid connecting multiple times to window_created (#1599) 2023-03-30 19:25:41 +09:00
Leo
cf2b835641
Use separate notification_group for notifications (#1598) 2023-03-30 18:36:24 +09:00
Leo
726bf097be
WindowOverview: Use button_release_event (#1593) 2023-03-29 16:22:36 +09:00
Leo
e9d53701af
WindowTracker: Remove unused connection to notify["focus-window"] (#1592) 2023-03-29 06:50:41 +00:00
Leo
5b91f9156d
Set keyboard layout using lock_layout_group (#1589) 2023-03-29 08:48:42 +02:00
Leo
4223141b4c
WindowSwitcher: Select a window on button release (#1590) 2023-03-28 21:52:26 -07:00
Leo
4f1084e011
Don't connect to Meta.Display.restacked (#1588) 2023-03-28 17:48:36 +02:00
Leo
f75159568a
WindowOverview and WindowCloneContainer: Cleanup (#1587)
* Code cleanup
 * Fixes an issue with window stacking in window overview where windows on other workspaces were higher than windows on current workspace
 * Prevents switching workspaces when window overview is opened
2023-03-28 09:13:03 +02:00
Leo
ac73dfe017
Minimze: Don't restore actor properties (#1585) 2023-03-27 11:15:31 +09:00
Leo
aebe2d5139
Ignore autorepeat for some keybindings (#1583)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-03-25 20:17:12 +00:00
Leo
4957906bc6
Remove texture.png (#1582) 2023-03-24 19:38:20 -07:00
Leo
79453b324d
Use ClickAction for FramedBackground and close buttons (#1579) 2023-03-22 22:02:11 +09:00
Leo
97b33173e2
Map notification windows manually while switching workspace (#1577) 2023-03-21 00:13:31 +09:00
Leo
b7139add23
WindowClone: Don't calculate offset (#1567) 2023-03-19 13:16:44 +09:00
Leo
99be1ad223
Meson: Always add DwellClickTimer and PointerLocator (#1568) 2023-03-08 20:26:53 +09:00
Leo
0230b5bdac
Unify move to workspace behaviour (#1562)
Also fixes a bug where trying to move window to non-existing workspaces resulted it stuck to top when switching workspace afterwards.

Resolves #1081
2023-02-28 14:03:25 +01:00
Leo
3c98ecac06
DragDropAction: Activate click signal on release (#1560) 2023-02-21 21:24:01 -08:00