Mike Blumenkrantz
dea3ae21ad
directly include e.h in efm device backends
...
fixes some compile errors related to include ordering
ref 68587276cf
2016-04-08 11:50:27 -04:00
Mike Blumenkrantz
9516031e93
only apply buffered wl client maximize during configure if client is not maximized
...
fixes directional maximize
2016-04-07 14:00:25 -04:00
Mike Blumenkrantz
657bc713c7
don't send duplicate configure to wayland clients during unfullscreen
...
this causes unnecessary client-side resizing
2016-04-07 13:56:03 -04:00
Derek Foreman
b8ab7b0738
Remove unwanted debug detritus from last commit
...
#Oops
Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2016-04-07 13:29:58 -04:00
Derek Foreman
68587276cf
Clean up some header inclusion
...
Including certain headers in the wrong order can cause problems if
we're configured to use beta api (right now wayland forces this).
In most cases we should just be including e.h and not the individual
EFL headers anyway. This fixes some of that.
fix T3426, T3428
2016-04-07 13:14:43 -04:00
Mike Blumenkrantz
7e3c2b08ec
move buffered maximize/fullscreen for wl clients to occur before csd update
...
this ensures that all such operations calculate based on the correct csd state
2016-04-06 16:42:10 -04:00
Mike Blumenkrantz
14721bc116
do not unconditionally update position+size when changing wl client csd geometry
...
this breaks...everything
2016-04-06 16:40:42 -04:00
Mike Blumenkrantz
e9bca1abaa
Revert "add E_Client->saved.frame to handle mismatched csd states"
...
This reverts commit ae7af6b8ef
.
this was a workaround for an entirely different issue, and it didn't even
solve that issue
2016-04-06 16:39:55 -04:00
Mike Blumenkrantz
992e04feb2
wayland client maximize/fullscreen cleanups
...
ref da74e690f0
2016-04-05 16:54:04 -04:00
Mike Blumenkrantz
ae7af6b8ef
add E_Client->saved.frame to handle mismatched csd states
...
if csd exists in only one of (before || after) a maximize/fullscreen,
this provides info so that the right size can be used when restoring
geometry
2016-04-05 16:52:50 -04:00
Mike Blumenkrantz
da74e690f0
redo xdg shell to enforce double buffering of client-side configure serials
...
xdg shell configure states (maximize, fullscreen) return a client ack when the
client has applied the state. the ack, followed by the next surface commit,
indicates that the surface is ready to be transitioned into the configured state
2016-04-05 15:05:10 -04:00
Mike Blumenkrantz
d50a20f812
do not send shell configures for deleted wl clients
2016-04-05 15:04:35 -04:00
Mike Blumenkrantz
a99d505771
set WAYLAND_DEBUG=0 during wl compositor init
...
ensures that debug logs won't get both compositor and client output,
making the log impossible to read
2016-04-05 15:03:26 -04:00
Mike Blumenkrantz
f8bca98f35
reject client maximize attempts using identical maximize params
2016-04-05 15:00:54 -04:00
Mike Blumenkrantz
e4960ad652
set ELM_ACCEL=gl upon successfully creating a gl wayland compositor
...
...successfully
ref 4aecb7ad14
2016-04-04 16:06:52 -04:00
Mike Blumenkrantz
a4588933a0
disable xwayland module if exe cannot be found during configure
...
should probably make this a --flag at some point
fix T3415
2016-04-04 15:43:04 -04:00
Mike Blumenkrantz
4b7141fc13
don't print xwayland path twice...
2016-04-04 15:40:21 -04:00
Mike Blumenkrantz
5046004edf
print xwayland exe path in debug logs
...
ref T3415
2016-04-04 15:38:46 -04:00
Mike Blumenkrantz
ed6448eb21
send fake www data during maximize
2016-04-04 14:03:17 -04:00
Mike Blumenkrantz
687b5fb6b6
set maximizing flag during maximize resizing for wl clients
...
a helpful indicator for when to avoid potentially leaking positioning info
2016-04-04 14:02:39 -04:00
Mike Blumenkrantz
6617a8440c
always set ec->maximize_override on unmaximize if maximize anims are enabled
...
this ensures that all cases of animation have the flag set
2016-04-04 14:01:30 -04:00
Mike Blumenkrantz
3f7e6dc359
wl popup surfaces should not receive focus on show if parent is not focused
...
fix T3339 harder
2016-04-04 12:51:29 -04:00
Mike Blumenkrantz
b9b9ed68b0
remove video child references from wl compositor
...
this is an x11-only thing
2016-04-04 12:51:20 -04:00
Mike Blumenkrantz
03f11366bb
add back CTRL to keybindings editor display
...
ref fcac68958e
fix T3412
2016-04-04 12:34:49 -04:00
Mike Blumenkrantz
7541a51599
use zone geometry for shelf zone obstacles
...
shelves use relative coords, so zone obstacles must have adjusted coords
passed in order to calc correctly
fix T3404
2016-04-04 11:29:01 -04:00
maxerba
f60273357f
Updating italian translation
2016-04-02 22:19:26 +02:00
Mike Blumenkrantz
dead7646d4
delete internal wayland elm windows in wl client delete request callback
...
fix T2874
2016-04-01 16:48:50 -04:00
Mike Blumenkrantz
8b8abb436d
restrict shelf border_fix to only affect clients affected by the shelf
...
fixes random other clients changing sizes based on irrelevant shelf hiding
2016-04-01 16:26:41 -04:00
Mike Blumenkrantz
37c5063200
do not incrementally remaximize clients during shelf hide animation
...
this looks really bad and forces unnecessary spinning
2016-04-01 16:26:06 -04:00
Mike Blumenkrantz
4aecb7ad14
set ELM_ACCEL=gl upon successfully creating a gl wayland compositor
2016-04-01 15:14:46 -04:00
Mike Blumenkrantz
3cb11abb25
move x11 client icon caching to private functions in comp_x
...
ref 57ce6419e5
2016-04-01 14:16:21 -04:00
Derek Foreman
8f0f9ce4f7
wayland: Fix xdg-popup crash
...
We need to remove the destroy listener when we delete a pixmap or it
leaves an invalid node on the signal list.
2016-04-01 14:07:45 -04:00
Carsten Haitzler
57ce6419e5
e icons: reduce mem usage (in x11) by a fair bit by de-duplicating
...
so i was profiling today .. leak hunting .. and i noticed. if you have
enough appss open - eg terminology, e uses a huge amount of memory...
for icons. terminology is 128x128 ... thats 64k per icon. open up a
lot of terminology windows and we duplicate that 64k per every window
on the wm sside because we get the data. it would apply for any app
that sets a netwm icon. this can be come rather silly if you have like
100 terminals. it's worse with larger icons (eg 256x256 - 256k per
icon).
this puts in a simply list for shared icons and a lookup on fetch to
de-duplicate and share icon data. this should drop memory usage
nicely.
@improvement
2016-04-01 20:33:52 +09:00
Mike Blumenkrantz
7f20ff52c9
reapply client focus after input grab, only handle focus for wayland compositors
...
this was looking too weird
ref 4a73e9f29a
2016-04-01 06:56:47 -04:00
Mike Blumenkrantz
c70054174e
implement www wayland extension handling for clients
...
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2016-04-01 06:29:49 -04:00
Derek Foreman
5c5dc3d9f8
xwayland: Don't leak memory on dnd read failure
2016-03-31 15:08:50 -04:00
Mike Blumenkrantz
c27e033d66
remove clamping for wl xdg popup configures
...
I don't remember why I added it but it's wrong and so was I
2016-03-31 14:58:55 -04:00
Derek Foreman
79a770b638
wayland: Stop E from consuming all CPU as soon as a selection is made
...
Clipboard fds from clients are regular files, which shouldn't be passed
to fd_handler_add. Using the wrong add function causes epoll to return
immediately and we end up running idle handlers and burning cpu.
Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2016-03-31 14:26:02 -04:00
Derek Foreman
6007a51f17
wayland: Don't leak a clipboard source if adding fd handler fails
...
Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2016-03-31 14:25:35 -04:00
Mike Blumenkrantz
2bf2772712
don't set wl xdg popups to POPUP layer, set popups as placed on creation
...
resolves random popup placements
2016-03-31 14:06:29 -04:00
Mike Blumenkrantz
607975ccc0
enforce wl xdg popup stacking relative to parent stacking
2016-03-31 14:05:47 -04:00
Mike Blumenkrantz
336721e693
set destructor for xdg popups when setting implementation
...
popups never get deleted without this
2016-03-31 14:04:47 -04:00
Mike Blumenkrantz
c529764660
do not reset previously-set ec->placed state when attempting early client moves
2016-03-31 14:03:56 -04:00
Mike Blumenkrantz
53c6b3ca19
apply compositor keybinds if an action client that is not focus exists
2016-03-31 14:03:29 -04:00
Mike Blumenkrantz
a352a6d197
only attempt to rescue offscreen clients if they are completely offscreen
2016-03-31 14:03:02 -04:00
Mike Blumenkrantz
a9415f696b
allow some client zone/desk move actions to occur on action client
2016-03-31 14:02:25 -04:00
Mike Blumenkrantz
56121908d5
remove wl xdg popup new_client stuff from get_popup method
...
ref d7f7eb9448
2016-03-31 12:54:21 -04:00
Mike Blumenkrantz
9c3d8aa9ca
optimize case where an x11 client is focused/unfocused in same loop iteration
2016-03-31 11:21:38 -04:00
Mike Blumenkrantz
4a73e9f29a
explicitly manage client focus when setting/unsetting input grabs
...
clients cannot retain focus during a compositor grab, so ensure that
they do not think they have focus in such cases
fix T3338
2016-03-31 11:21:31 -04:00
Mike Blumenkrantz
0cb7013cda
block wl keyboard modifier updating during input grabs
2016-03-31 11:21:23 -04:00