Commit Graph
1564 Commits
Author SHA1 Message Date
Tor Hedin Brønner 54b7448e4d Simple fixes for 3.38
log no longer takes several arguments...

actor.add seems brokenish?
2020-08-23 16:56:32 +02:00
Tor Hedin Brønner e76bfd9069 swipe: also fix 4-finger swipe horizontally 2020-08-15 15:28:25 +02:00
Tor Hedin Brønner 4a58b549e5 swipe: support 4-finger swiping 2020-08-15 15:22:16 +02:00
Ole Jørgen Brønner 4a923f008f readme: make winprop example "compatible" with user.js template
If pasted directly into init an error occur due to Tiling already being defined.
Thanks to @frizop for reporting it.
2020-08-14 17:19:23 +02:00
Tor Hedin Brønner 31ef966fab alt-tab: respect current-workspace-only
This works with the new ordered workspace animations.

closes #330
2020-08-13 22:12:38 +02:00
Illya Klymov a57dbdf1bb Safer way to add fixes to Clutter.Actor prototype (#327) 2020-07-18 20:55:09 +02:00
Simon EpsteinandSimon Epstein c98fe8556e Avoid moving the top bar when it's stuck on primary
With `topbar-follow-focus` set to false we still moved the topbar (to its own position).
This caused issues with dash-to-panel with panels on all monitors.

So only move the topbar to the primary monitor when `topbar-follow-focus` is toggled 
off by the user.

There's still some issues with dash-to-panel and the workarea on secondary monitors, 
but this makes it at least somewhat usable.

Co-authored-by: Simon Epstein <simon.epstein@67bricks.com>
2020-07-02 22:49:35 +02:00
Fabian Frei ac54a572db Updated README.md with info about fixed window size (#313) 2020-06-13 16:14:29 +02:00
Ayla Ounce 9e15aa2de5 extend uninstall.sh to handle non-linked installs (#312)
Currently uninstall.sh fails if run on an installation copied or cloned
directly into the extensions directory. This change updates it to check
whether the install is link-based or direct and handle each case
appropriately. Due to the potential danger of a recursive removal, it
prompts the user for confirmation before removing direct installs.
2020-06-05 21:21:33 +02:00
Ole Jørgen Brønner 3ad3100413 readme: new instructions for finding the wm_class of a window 2020-05-29 10:46:32 +02:00
Oscar Tin LaiandTin Lai 404d50c416 remove and combine duplicated sentences (#301)
Co-authored-by: Tin Lai <tin.lai@sydney.edu.au>
2020-05-06 15:16:06 +02:00
Tor Hedin Brønner 42a69e6c8b edge overlay: raise above highest stacked neighbor
When the neighbouring edge overlay contains more than one window we need
to raise the edge overlay above the highest window.
2020-04-02 17:35:22 +02:00
Tor Hedin Brønner 1ddad3e845 Fix crash on enable after unplugging monitor
I suspect there's more going on here, since a space should always have a
monitor, so we're probably hitting an uncommon code path. But it doesn't
hurt to guard explicitly against null monitor.

closes #273
2020-03-17 21:23:48 +01:00
Ole Jørgen Brønner 3461649306 Bugfix: older gjs does not support object unpacking {...obj}
fixes #271 (NB: not verified yet)
2020-03-16 18:55:57 +01:00
Ole Jørgen Brønner 065526d409 examples/keybindings: reorder workspace 2020-03-14 23:09:31 +01:00
Ole Jørgen Brønner 1d0b233e67 Utility function to translate action name to action id (HACK) 2020-03-14 23:09:31 +01:00
Ole Jørgen Brønner df13408531 Keybinding system: always provide the selected space to action handlers
Before: only actions triggered from the action dispatcher was provided the space
2020-03-14 23:09:15 +01:00
Ole Jørgen Brønner c34e99c421 Reindex space settings on 'workspace-reorder' signal 2020-03-14 22:59:15 +01:00
Ole Jørgen Brønner d47206cc01 Fix switch-monitor* when workspace is empty (partially) [Scratch.focusMonitor]
focusMonitor now falls bact to monitor-at-point on empty workspace. But since
the move-workspace-* gnome actions is registered as PER_WINDOW the default
bindings will still usually not work. (depends on who win the binding "fight")
2020-03-14 14:16:10 +01:00
Ole Jørgen Brønner 484b26d25a Make all minimap actions PER_WINDOW
Atm. some of the actions spammed errors in the log when invoked on an empty
workspace. A empty minimap also pops up which looks a bit strange(?)
2020-03-14 13:39:42 +01:00
Ole Jørgen Brønner eedfe0c0f5 ActionDispatcher: respect mutterFlags (PER_WINDOW) 2020-03-14 13:32:24 +01:00
Yegor Timoshenko 5de1be9c8a gnome shell background -> GNOME Shell background (#264) 2020-03-11 23:44:53 +01:00
Ole Jørgen Brønner 386e1fbf42 Fix keybindings.disable in 3.36 when <Super>A is overriden 2020-03-08 22:33:49 +01:00
Tor Hedin Brønner 2e407554be maximized: fix y position of eg. firefox wayland
Some windows apparently report the wrong frame.y value when they've just
been maximized, leaving us with the old incorrect value. Simply hardcode
the correct y value instead.
36.0
2020-03-07 14:25:19 +01:00
Tor Hedin Brønner f1b151524a edge overlays: Do not set when browsing workspaces 2020-03-07 13:30:10 +01:00
Tor Hedin Brønner add08a38d2 Fix top bar on enable
When unlocking the desktop with a fullscreen window focused we'd incorrectly
show the topbar.

Run fixTopBar after all spaces have been fully setup to fix it.
2020-03-07 13:26:16 +01:00
Tor Hedin Brønner 4f9383a430 Fix top bar on notify::fullscreen
If there's already a fullscreen window in the workspace, gnome-shell
won't trigger a hide on the topbar. Meaning fixTopBar won't run
automatically, so we need to run on any fullscreen changes.
2020-03-07 13:26:16 +01:00
Tor Hedin Brønner 108f7202ff edge overlays: hide when selecting a maximized window 2020-03-02 16:27:18 +01:00
Tor Hedin Brønner 5727ea94cf Space.isVisible: Work correctly with fullscreen windows 2020-03-01 18:55:42 +01:00
Tor Hedin Brønner a7da294946 Space.isVisible: use current, not future, coordinates 2020-03-01 18:54:54 +01:00
Tor Hedin Brønner 5dcee36d71 Polish up animate down for fullscreen windows
- Simply move the fullscreen clone if not visible
- Do not start a new animation one is already in progress
- Do not run animateDown when starting navigation
2020-03-01 18:54:27 +01:00
Tor Hedin Brønner 0c3f71d94d selection highlight: add rounded border 2020-03-01 18:13:05 +01:00
Ole Jørgen Brønner 8971ae73e3 Wayland-safe(r) override-redirect check
It looks like mutter doesn't maintain override_redirect on wayland windows (ie.
it doesn't try to emulate the X11-only(?) concept)

This caused many menues (eg. gtk menues) to be registered by us (creating clone,
registering resize signals, etc.)

Particularily noticable in libreoffice - the menus was very delayed and
sometimes didn't show up at all. (Observed in GS 3.34.3, libreoffice 6.2.6.2)

(TOOLTIP is checked preemptively)
2020-02-28 21:13:10 +01:00
Tor Hedin Brønner 069f687fcd readme: Update for 3.36 support 2020-02-27 15:35:02 +01:00
Tor Hedin Brønner 7916c610fd Merge pull request #254 from paperwm/gnome-shell-3.36
Gnome shell 3.36
2020-02-27 15:34:10 +01:00
Tor Hedin Brønner 1db0e1b6d4 animateDown: use workArea
This fixes some visual bugs when navigating secondary monitors with top
bar on primary.
2020-02-27 15:00:53 +01:00
Tor Hedin Brønner 233999f9d7 Space.workArea: Move most logic here 2020-02-27 15:00:53 +01:00
Tor Hedin Brønner 123a1f9f46 layout: do not move maximized windows in y direction
Ideally we want to do this with fullscreen windows too, but it currently
becomes a bit messy due to top bar transparency.
2020-02-27 14:59:46 +01:00
Tor Hedin Brønner bb503675a0 Fix top bar visibility on insert/remove window 2020-02-27 12:37:27 +01:00
konni 616d7712fa add resize functions to inc/dec height/width (#255) 2020-02-25 16:55:52 +01:00
Tor Hedin Brønner 806e304fe4 metadata: register 3.36 support 2020-02-25 10:44:00 +01:00
Tor Hedin Brønner a817e55502 3.36: Add support for warping pointer in wayland 2020-02-25 10:44:00 +01:00
Tor Hedin Brønner dce11d0c8b liveAltTab: fix abort 2020-02-25 10:44:00 +01:00
Tor Hedin Brønner aa76906d0f kludges: fix for 3.35.90
TouchpadWorkspaceSwitchAction no longer exists
2020-02-25 10:44:00 +01:00
Tor Hedin Brønner 5c89890b18 workaround strange move_frame bug in 3.35...
For some reason after a successful `move_frame`, and `position-changed`,
the window is moved back to it's original position. This only happens
sporadically...

Anyway, just do the simply thing and make sure all `position-changed`
signals are correct.

NOTE: need a grab guard or something for non-clutter dnd
2020-02-25 10:44:00 +01:00
Tor Hedin Brønner f0b9d21ced navigator: fix escape 2020-02-25 10:44:00 +01:00
Tor Hedin Brønner 5e94080e1d Fix and update workspace menu for 3.36
Upstream updated the menu style (and together with that some styles we
relied on). Fix it and make the look inline with the new upstream menus.
2020-02-25 10:44:00 +01:00
Tor Hedin Brønner a948b9b325 workspace menu: Fix signals for 3.35.2 2020-02-25 10:44:00 +01:00
Tor Hedin Brønner 335a623be7 Polyfill Clutter.Vertex 2020-02-25 10:44:00 +01:00
Tor Hedin Brønner 4ef1db8704 Polyfill actor.reparent/raise/raise_top
3.35.2 removed these deprecated methods, but the replacement is a bit
wieldy, so lets just polyfill.
2020-02-25 10:44:00 +01:00