Mike Blumenkrantz
6fa35c353d
ensure client rescale picks up current geometry
...
in some cases this would restore the wrong geometry and windows could become oddly
sized
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
91dc28967a
add separate desklock key up handler to correctly handle caps lock on wayland
...
x11 modifier handling in events is broken: the modifier state is the state from
before the event, meaning that pressing caps lock will never result in an event where
the modifier is not set in the corresponding event
wayland handles this more sensibly, though it should be detected on key up rather
than key down
fix T5737
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
a1e585862c
use EC_CHANGED for client menu attr changes
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
528bad7252
block updating window remembers while applying them
...
some attrs (e.g., desk setting) change the position/size of a window before
another attr is set, changing the original value
fix T5295
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
35594d43f9
only pop a single dialog to notify about all fail themes in theme dialog
...
popping a million dialogs is super annoying
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
b078599fdd
send theme signal for dialogs when no buttons are present
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
d07408e76c
do not center xwl clients on their parent during first commit
...
xwl clients are placed differently
ref b817db7f09
fix T5845
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
2832d893cc
set transparent state for luncher preview wins when win has alpha
...
this should probably use a mask to provide just the outline in the theme?
@jpeg
fix T5741
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
487eb17d5f
always align ibar inner box to the left
...
fix T5041
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
b80f0fce56
don't set focus attrs in wl surface commit for xwl clients
...
these should be getting set in other places...I think...
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
6ee841ecd5
use xwindow check to determine whether to check icccm accept/take focus attrs
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
ff8964a1c6
don't force xwl drag client motion for override drag clients
...
this should improve dnd visuals a bit
ref T5593
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
a12e9f954b
end xdnd operations on window hide if no FINISHED event is received
...
fix T5886
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
6b2a9a0f7b
set gadget ctxpopup priority based on anchor
...
fix T5877
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
a59328b34a
add internal action for showing a menu using object geometry
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
abc70abbf0
make menu autoplacement more consistent by preferring DOWN placement
2017-08-18 15:52:50 -04:00
Marcel Hollerbach
8537923d2e
everything:declare this object as const
...
The object is not meant to be moved, we only subscribe click events on
it, this isnt really changing the context where the api wants to declare
it const, so for now safe it everywhere as const and register /
unregister the callbacks with casts.
2017-08-17 18:46:51 +02:00
Mike Blumenkrantz
3271efaba4
capture zone for newly-added bryces based on name
...
the last number is always the zone number
2017-08-16 10:58:51 -04:00
Mike Blumenkrantz
b6759a8c27
do not apply x11 pointer focus if key/mouse grabs exist
...
fix T5871
2017-08-16 10:42:14 -04:00
Marcel Hollerbach
5eed5f6fdb
tiling: give a better error message if a client doesnt fit
2017-08-15 10:59:15 +02:00
Derek Foreman
55e13da654
Bump wayland-protocols requirement
...
We need a newer version for the dmabuf changes, so let's just depend on the
latest released.
2017-08-14 11:22:18 -05:00
Marcel Hollerbach
bf146faf72
mixer: find a better name
...
if pa does not provide the name via the proplist we can just use the
information from name if the name exists
2017-08-14 17:35:36 +02:00
Mike Blumenkrantz
b2c5c20cde
manually get client under pointer for checking x11 pointer focus
...
e_client_under_pointer_get() ignores overrides.
ref 3ee5a0378d
fix T5878, T5871
IF ONLY THERE WERE SOME METHOD FOR TESTING COMMITS BEFORE THEY WERE PUSHED
2017-08-14 07:30:04 -04:00
Marcel Hollerbach
d9737ddba5
tiling: change description
...
in one of the last commits i accedently just changed the title on
deletion not when we are creating the action.
fixes T4499
2017-08-14 10:13:49 +02:00
Marcel Hollerbach
430d7e0bb2
everything: use correct edje api
...
everything used here edje_object_part_swallow_get, which is somehow
wrong, since we dont really know if the everything theme gives the type
swallow, using the plain object_get of edje is the solution here. Its
returning a alias object that is hiding the internal edje object.
2017-08-13 21:18:49 +02:00
Davide Andreoli
ac0e78201e
pkit gadget: do not autoclose the popup
...
Like the majority of other gadgets
2017-08-13 20:08:49 +02:00
Marcel Hollerbach
2e5c9cbe71
tiling: show notification if a client cannot be tiled
...
this at least tells the user that the client could not be tiled and not
just mysterically putting it under floating.
2017-08-13 19:06:07 +02:00
Davide Andreoli
0d5bc403c6
pkit gadget: popup title in bold
2017-08-13 08:41:16 +02:00
Al Poole
16d23a628f
Efm: file properties, fix widget sizing issue.
...
Summary: This fixes the erroneous sizing of labels in Efm preview dialogues.
Reviewers: zmike!
Subscribers: stephenmhouston, cedric, raster
Differential Revision: https://phab.enlightenment.org/D5093
2017-08-13 09:52:02 +09:00
Davide Andreoli
8a5b878443
pkit gadget: show the button only if a packager manager is configured
2017-08-13 00:33:40 +02:00
Davide Andreoli
dfcf6d960f
pkit gadget: a new help "mode" that show the icon meanings
2017-08-13 00:21:03 +02:00
Marcel Hollerbach
5b3f38efcf
leave the E_Comp_Wl_Data define in e_comp.h
...
otherwise bulding without wayland breaks
2017-08-12 22:47:52 +02:00
Marcel Hollerbach
de21e6ddb8
tiling: fix insertion in the tree
...
the problem here was that in the initial case the function got the
previous state of the tree wrong, so the insertion of a second client
ended up in a unpossible state of the tree, this should not happen
anymore now.
The insertion is now also way more stable, since in a errorcase the
client is not just not placed in the tree but associated with a window
tree, its just not placing the client in the window tree at all.
2017-08-12 22:30:33 +02:00
Marcel Hollerbach
f1fb4a0c83
tiling: only use the insert function
...
this brings all possible bugs due to insertion to one single function
2017-08-12 22:30:33 +02:00
Davide Andreoli
1e2fa5649e
pkit gadget: show a nice progress bar while working
2017-08-12 22:30:00 +02:00
Davide Andreoli
5fa85726ee
pkit gadget: cosmetics, no functional changes
2017-08-12 19:52:16 +02:00
Davide Andreoli
ef8cc77790
pkit gadget: add ability to install updated directly from the gadget !
...
You can install all updates or select the packages you like.
The update work without asking any password, if it doesn't works check the
org.freedesktop.packagekit.system-update Polkit permission
(work out-of-the-box on Arch Linux, just install packagekit)
2017-08-12 19:28:59 +02:00
Marcel Hollerbach
fcd271dd1b
e_comp_wl: move types into typedef section
...
WIth this we dont need a second define of the same type in e_comp.h
This fixes a duplicated definition warning
2017-08-12 15:17:03 +02:00
Marcel Hollerbach
8ef5a7c89d
e_comp: stop including e_comp_x here without a reason
2017-08-12 15:17:03 +02:00
Carsten Haitzler
7660a6aabc
meson build - simplify and cleanup evrything module
...
all done now! :)
2017-08-12 13:40:49 +09:00
Carsten Haitzler
5e59869a62
meson build - mixer - simplify for module build setup
...
it's still complex anyway... :( but a little smaller
2017-08-12 13:40:44 +09:00
Carsten Haitzler
397e21d0de
meson build - simplify wizard module build like others
2017-08-12 12:25:53 +09:00
Carsten Haitzler
1d90c87334
meson build - minimize teamwork meson build too like other modules
...
also simplify build if's...
2017-08-12 12:00:53 +09:00
Carsten Haitzler
94f3cc4a2a
meson - wl module builds - make them all consistent
2017-08-12 11:11:32 +09:00
Al Poole
7df7b1f5fa
FreeBSD: fix broken build.
...
Reviewers: zmike!, raster
Reviewed By: raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5092
2017-08-12 10:49:38 +09:00
Mike Blumenkrantz
57c448739a
add support for external gadget providers in the gadget editor
...
this allows external gadget managers to add their gadget types into
existing editor/layouts
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
408128df95
handle destruction of demo gadgets without crashing
...
demo gadgets automatically call _gadget_free() on object delete, avoid
recursively calling it
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
2d80ef091e
further improve keyboard handling while gadget editor is active
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
92a0cb11d6
disallow demo gadget ids from counting towards wizard success
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
4e4f66fc2b
prune gadgets from editor if destroyed while editor is active
2017-08-11 18:48:49 -04:00