Mike Blumenkrantz
7402dc8eda
only update wl client window size on commit if no pending resize exists
...
this breaks pending resizes
fix T4189
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
ac91f3b2c5
clamp xsettings font size to 12 when size is 0
...
font class config does not require the user to select a size, so do
extra clamping here when a size isn't set
fix T3093
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
2b984e68b9
add MISC client property event to be manually triggered whenever misc props change
...
there's too many properties to create flags/events for all of them, so just use this
if it's one of the many misc props
currently only used for skip_{pager,taskbar,winlist}
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
bda9bfb8c0
avoid hiding->showing->hiding->etc submenus for active menu items
2017-08-18 15:52:50 -04:00
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
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
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
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
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
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
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
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
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
Mike Blumenkrantz
2047ca3bfe
handle case where eglBindWaylandDisplay fails during wl init
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
65fe42fdef
avoid object hide animations during shutdown
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
31994d4876
don't center wl popups on their parents
...
ref b817db7f09
2017-08-11 18:48:49 -04:00
Carsten Haitzler
fe7c39fa18
e_start - remove evas deps - don't need them.
...
e_start isnt really using evas atm - cserve2 env vars arent being set
so remove it - e_start can start a little faster with less linking...
good for startup time perhaps and mem footprint of e_start while it
babysits
2017-08-11 15:43:39 +09:00
Carsten Haitzler
ead1be7bd6
meosn build - go back to requires_e it's uses in main meson.build
2017-08-11 14:35:24 +09:00
Cedric Bail
77e4b72d2b
alert: protect use of drm code inside the proper ifdef.
2017-08-10 21:43:17 -07:00
Carsten Haitzler
2349a298f0
meson build - reformat and trim build files a bit to be more compact
...
working on it...
2017-08-11 08:28:23 +09:00
Derek Foreman
022dd52cd9
Remove more pre-ecore-drm2 stuff
...
We no longer need a HAVE_DRM2 define since it's become synonymous with
HAVE_WL_DRM.
2017-08-10 13:32:15 -05:00
Derek Foreman
1cdbcb0d94
Resynch with weston's dmabuf implementation
...
Weston's dmabuf implementation continues to be modular enough that we can
pull it in with minimal change.
This updates us to version 3 of the protocol - required by recent mesa to
use dmabuf buffers instead of wl_drm ones.
Currently only contains stubs for format query.
2017-08-10 11:32:45 -05:00
Marcel Hollerbach
bcf0110277
meson: we need to link dl
2017-08-10 15:47:44 +02:00
Derek Foreman
15cb70f13a
Remove ecore_drm support
...
ecore_drm2 supersedes this, ecore_drm is deprecated, and we depend on
an efl version newer than the deprecation, so none of this code should
ever be built.
2017-08-09 15:10:44 -05:00
Derek Foreman
0b26bdc2f8
Stop doing complicated things after a segfault
...
The chance of any of this succeeded is near zero, and it sometimes ends
up in a tight loop after a crash.
2017-08-09 15:10:41 -05:00
Derek Foreman
0fd23928f0
Add a compatibility layer to protect against ecore_drm2 api change
...
In case we roll an E release before the next EFL one, we need these
API changes to be hidden.
Later we can remove this...
2017-08-09 14:59:26 -05:00
Derek Foreman
50169af1db
Update to recent ecore_drm2 changes
2017-08-09 14:59:25 -05:00
Mike Blumenkrantz
fd6f9f1c14
destroy gadget configs when deleting a gadget site
2017-08-07 14:48:07 -04:00
Mike Blumenkrantz
08d70dd958
clamp internal win min/max size hints to 0
...
ref T5845
2017-08-07 11:04:23 -04:00
Mike Blumenkrantz
0bea40f4dd
do not defer wl gl init
2017-08-07 10:29:00 -04:00
Carsten Haitzler
3ee5a0378d
e - do workaround with in events due to flags to get ptr focus right
...
so we egnore some mouse in evets due to their flags (crossing events
thansk to grab changes or other stuff) that we want to ignore for
other reasons like when a popup menu happens and so on... so if we get
a mouse in... 0.1 sec later double check where the pointer is with a
poll then fix focus. this should patch over a long standing annoyance
here in x11.
@fix
2017-08-06 18:34:42 +09:00
Carsten Haitzler
4fe7827af2
fix fallthrough warnings and tag as fallthrough
...
this code was intending to do this.. so tag as such
2017-08-05 12:37:39 +09:00
Mike Blumenkrantz
1a622a68ed
make mouse-activated menus function as expected with 0 passed as activate time
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
5cfc3c846e
make menu_show action pop the menu in automatically-calculated direction
2017-08-04 16:05:16 -04:00