Commit Graph

9935 Commits

Author SHA1 Message Date
Carsten Haitzler 5d2426cdda e - client list update after adding to client list - fix netwm bug
this fixes T2029
2015-02-06 17:58:08 +09:00
Carsten Haitzler 6ef73fb3f0 adapt to new win center trap in 1.13 efl
also require 1.13 now as we want he win trap h/v info
2015-02-06 11:37:52 +09:00
Mike Blumenkrantz ea230eeaf5 remove pixmap resource delete cb
this was a stupid idea and I'm stupid for having such a stupid iea
2015-02-05 17:13:44 -05:00
Mike Blumenkrantz e7fcba8e8f clear wl pixmap cache on client free instead of leaking 2015-02-05 16:32:10 -05:00
Mike Blumenkrantz a19957d3eb move wl pixmap stuff to use pixmap functions in compositor instead of in pixmap 2015-02-05 16:32:10 -05:00
Carsten Haitzler c87ca3e892 maximization bug affecting libreoffice and others - fix
the problem is something changes window gravity... what i don't know,
but hey - just forcibly move window to 0,0 which is where we expect it
anyway when resizing.

@fix
2015-02-05 14:41:12 +09:00
Carsten Haitzler fa4a0ef7cc xinerama note for multiscreen handling 2015-02-05 12:00:36 +09:00
Carsten Haitzler 91969500de e - randr2 - handle lid close/open as screen unplug/plug
when your laptop lid opens/closes even if we dont get a randr event
with a disconnect, the screen as logically been unplugged (you can't
see it anymore) so we should treat it as if the screen is not
connected. this fixes that.
2015-02-05 12:00:36 +09:00
Chris Michael 931409c687 only send key events to focused clients
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-04 11:59:19 -05:00
Mike Blumenkrantz 7f2b83c8d9 remove unnecessary comp work in wl pixmap functionality
these are all basically no-ops anyway
2015-02-03 19:44:06 -05:00
Chris Michael 00b609ac12 cleanup xkb state modifiers and only update state_mask if necessary
NB: *These 2 commits fix Mike's modifier issue

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 15:37:11 -05:00
Chris Michael 0690b8debe change keyboard input listeners to Not depend on a client but rather
use ecore_event_handlers for key events.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 15:37:11 -05:00
Chris Michael 96dd7324f8 add a mod_changed field to compositor data so we can know when
modifiers change

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 15:37:11 -05:00
Chris Michael 3be57f67ba quiet compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 10:58:13 -05:00
Chris Michael c66f43593d de-e_comp_get()-ify e_utils
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 10:35:08 -05:00
Mike Blumenkrantz 256378577c Revert "ref/free client pixmaps during hide animations"
This reverts commit bbb04ecb32.

also fixed by deferred resource releasing
2015-02-02 17:40:11 -05:00
Mike Blumenkrantz bc59464f99 make wl clients use post render canvas cb to clear buffers 2015-02-02 16:45:18 -05:00
Mike Blumenkrantz 66e4c59764 hide wl clients on surface delete
surface callbacks may not trigger xdg/shell unmap callbacks before this is called, so this ensures a hide animation
2015-02-02 13:39:32 -05:00
Mike Blumenkrantz bbb04ecb32 ref/free client pixmaps during hide animations
replaces wl client crashing with a garbage frame
2015-02-02 13:38:48 -05:00
Mike Blumenkrantz 1f608490c8 make comp param in e_client_new unused 2015-02-02 12:42:43 -05:00
Mike Blumenkrantz 8d5ab29625 don't create wl clients as re_manage 2015-02-02 12:41:39 -05:00
Chris Michael b02439c14d Revert "reset keyboard modifiers when client is deleted"
This reverts commit b9f4b257d7.

Revert this quick fix as apparently it did not actually fix the problem.
2015-02-02 12:31:09 -05:00
Chris Michael b9f4b257d7 reset keyboard modifiers when client is deleted
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-02 12:27:40 -05:00
Mike Blumenkrantz 44229f20bd clean up comp object to not use deprecated comp functions 2015-02-02 12:12:12 -05:00
Chris Michael 1e77df57a8 cleanup keymap properly on shutdown(fixes E restart issue).
nb: this also adds checking for setting of fd flags when we get the
keymap fd.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-02 12:01:53 -05:00
Mike Blumenkrantz d9fec13343 don't hide client before delete in win del trap 2015-02-01 19:05:21 -05:00
Mike Blumenkrantz ae7976bdc8 delete all clients in wl delete request cb
this was doing weird stuff for some reason when it should just be deleting all clients
2015-02-01 19:05:21 -05:00
Mike Blumenkrantz 566591581b don't crash in stupid e_module dialog hack 2015-01-30 15:49:15 -05:00
Mike Blumenkrantz 4aa4c64508 ensure no duplicate XDG paths are prepended during startup
the previous patch(es) had a number of issues which made them unsuitable for general use:

* only checking "/usr" and "/usr/local" paths, despite this only being accurate if e was installed into /usr or /usr/local

* only checking if the paths were at the beginning of the string, when it's possible that they could be anywhere

* failure to also check XDG_CONFIG_DIRS

* improper formatting: this is a bit of a nitpick, but there are no correct instances of 'strcmp(a, b) == 0' in the e codebase.
2015-01-29 16:01:25 -05:00
Mike Blumenkrantz fbde0824d1 Revert "Do not add /usr/share twice for XDG_DATA_DIRS"
This reverts commit e3eda1d690.

hardcoding directory paths is not a solution that I want to see used for this issue.
2015-01-29 12:43:20 -05:00
Mike Blumenkrantz 9f36dc1b43 Revert "Include /usr/local too in the no-duplication of XDG_DATA_DIRS"
This reverts commit ae3410a0ba.
2015-01-29 12:43:14 -05:00
Chris Michael 323f41122e pass the proper window to ecore_wl functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 10:15:36 -05:00
Chris Michael 6f2f7c0e94 fix copy/paste errors
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 10:12:08 -05:00
Chris Michael a889f55c34 start making e_grabinput work for wayland (nb: not finished yet)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 09:54:43 -05:00
Chris Michael b42e70c73a fix e_pointer using incorrect comp variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 09:28:28 -05:00
Thanatermesis ae3410a0ba Include /usr/local too in the no-duplication of XDG_DATA_DIRS
@fix and improves the previous fix

(cherry picked from commit e0dcab584b)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:14 -04:00
Thanatermesis e3eda1d690 Do not add /usr/share twice for XDG_DATA_DIRS
This commit @fix a duplicated entry in XDG_DATA_DIRS which is also
added prematurely, if eina_prefix_get is already /usr (most of the
times) we dont want to add it here

(cherry picked from commit f42f5f1cfe)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:04 -04:00
Mike Blumenkrantz 1680de7ff2 use new pixmap id for internal wl wins 2015-01-28 17:34:05 -05:00
Mike Blumenkrantz 7a0ea605e6 move wl pixmap creation back to comp
after further consideration, this seems much simpler
2015-01-28 17:31:40 -05:00
Mike Blumenkrantz 2a51535fc0 Revert "move wl pixmap creation into shell, fix pixmap id usage"
This reverts commit c1a93d893e.
2015-01-28 17:29:17 -05:00
Mike Blumenkrantz c1a93d893e move wl pixmap creation into shell, fix pixmap id usage
using raw surface id here guarantees overlap between surfaces for different apps. instead, shift and add app pid to ensure uniqueness

 #barrel
2015-01-28 17:04:59 -05:00
Chris Michael 4b992e38fd de-e_comp_get()-ify e_randr2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:35:45 -05:00
Chris Michael dea5981c2f de-e_comp_get()-ify e_zone
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:35:19 -05:00
Chris Michael 2cdd022b1b de-e_comp_get()-ify widget_bgpreview
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:34:39 -05:00
Chris Michael efd406edab make e_scale get the dpi for wayland also
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:53:12 -05:00
Chris Michael 9e2d4c85c3 de-e_comp_get()-ify e_scale
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:52:13 -05:00
Chris Michael cdebd483ef de-e_comp_get()-ify e_pointer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:51:35 -05:00
Chris Michael 4773f4cd12 de-e_comp_get()-ify e_gadcon_popup
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:49:28 -05:00
Chris Michael 0c4f3ff48e de-e_comp_get()-ify gadcon
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:48:50 -05:00
Chris Michael 5ec2c7f7a6 de-e_comp_get()-ify grab dialog
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:48:15 -05:00
Chris Michael c024e4bc17 add EINA_UNUSED for unused function paramater
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:54:55 -05:00
Chris Michael bf8fde1948 make desklock timeouts work in wayland-only. Fixes T1818
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:52:03 -05:00
Chris Michael e647105421 add function to return input idle time in wayland compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:50:58 -05:00
Chris Michael c6a5f9448c add function prototype for getting idle time
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:48:47 -05:00
Chris Michael 3d9e6cd934 remove unused inline function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 09:28:14 -05:00
Chris Michael 56da400c39 make enlightenment build again for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 08:54:38 -05:00
Carsten Haitzler 33d4531f1d e - rewrite randr code entirely. core and dialog. dialog is basic atm
the dialog for now is simple and lets you just raw edit the properties
per screen in a dialog. nothing fancy. not user firendly. but it works.

the randr core has been totally rewritten and tested against a range
of drivers and setups before even getting a commit. it works solidly
and configures screens reliably now. drivers tested:

nvidia
intel
radeon

some drivers still are unreliable in terms of delivering plug/unplug
events for outputs (both intel and radeon are flakey - nvidia is solid
and reliable). so to fix this there is now a screen redo action you
can bind to a hotkey or something and have e re-evaluate current
screen setup and apply ny pending config if needed.

also to make reconfiguring prettier the screen is faded to black
first, then configured, then faded back in. some drivers work
flawlessly with this, others still flicker some garbage.

i admit - i haven't tested nouveau, but my general take on this is the
randr code is now in far better shape than where it was (minus pretty
and easy dialog). the dialog can be done next, but i'd like to get the
core in now for more testing.

@fix
2015-01-25 22:50:23 +09:00
Carsten Haitzler ab975cc349 e - fix e widgets to use evas size hints - this unifies sizing elm vs e 2015-01-25 22:50:23 +09:00
Mike Blumenkrantz b0a9d64000 allow client pixmap size to be used in place of actual client geom for tiler creation 2015-01-23 17:20:52 -05:00
Mike Blumenkrantz a5c00bfb2b defer client frame resizes if client is not protocol-visible 2015-01-23 17:20:14 -05:00
Mike Blumenkrantz d94a76db15 preserve internal window borderless state when set prior to showing window 2015-01-23 16:22:14 -05:00
Chris Michael 432b76390b de-e_comp_get()ify e_moveresize
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:35:37 -05:00
Chris Michael 93ad6ba544 de-e_comp_get()ify e_int_client_menu
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:33:20 -05:00
Chris Michael a71e0e3553 de-e_comp_get()ify e_deskmirror
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:32:41 -05:00
Chris Michael 4814695439 de-e_comp_get()ify e_desk
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:32:41 -05:00
Chris Michael 4c42448ffa de-e_comp_get()ify e_actions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:32:41 -05:00
Mike Blumenkrantz 363a78a260 continue to hide window input regions on desk flip if they are shaded 2015-01-23 14:26:28 -05:00
Mike Blumenkrantz 03c5915245 force server borders on internal wl wins again
this goes back to previous behavior before elm win conversion
2015-01-23 14:10:58 -05:00
Mike Blumenkrantz 665a399b14 de-e_comp_get()ify e_win 2015-01-23 14:10:58 -05:00
Stefan Schmidt baad02c03a e_screensaver: de-e_comp_get()ify 2015-01-23 13:49:54 +01:00
Stefan Schmidt 38b8ba509b e_notification: de-e_comp_get()ify 2015-01-23 13:49:09 +01:00
Stefan Schmidt 56de1002ec e_mouse: de-e_comp_get()ify 2015-01-23 13:44:43 +01:00
Stefan Schmidt c66b402322 e_module: de-e_comp_get()ify 2015-01-23 13:43:40 +01:00
Stefan Schmidt eccf163aa8 e_main: de-e_comp_get()ify 2015-01-23 13:43:07 +01:00
Stefan Schmidt fe024b561b e_dpms: de-e_comp_get()ify 2015-01-23 13:42:01 +01:00
Stefan Schmidt c100027f20 e_configure: de-e_comp_get()ify 2015-01-23 13:40:45 +01:00
Stefan Schmidt 8c60f2e02c e_bindings: de-e_comp_get()ify 2015-01-23 13:38:28 +01:00
Stefan Schmidt f64b07bb8e e_backlight: de-e_comp_get()ify 2015-01-23 13:37:59 +01:00
Stefan Schmidt 1997034465 e_sys: Make sure we return false if systemd does not support various suspend modes
Since this was introduced this callback always returned 1 no matter if systemd
said it does support the mode or not.

CID: 1261291
2015-01-23 13:22:59 +01:00
Mike Blumenkrantz 30f17c5680 remove no longer necessary setting of changes.size on client resize
this is unnecessary since we resize on every necessary frame anyway
2015-01-22 23:03:38 -05:00
Mike Blumenkrantz 847ce5b0d5 never uncenter a centered internal window
a window which has received a call to elm_win_center() can now never auto-uncenter in either axis

ref T2031
2015-01-22 22:39:46 -05:00
Mike Blumenkrantz b89868cc65 fix comp cfdlg sizing and centering 2015-01-22 22:39:27 -05:00
Mike Blumenkrantz 3e5b2ba96a move more grabinput code to not fail in wl
#barrel
2015-01-22 15:45:16 -05:00
Mike Blumenkrantz 5e5a533a6d move grabinput focus fix timer to be X-only 2015-01-22 15:30:25 -05:00
Mike Blumenkrantz ba684aacd3 de-e_comp_get()ify e_dnd 2015-01-22 14:59:25 -05:00
kabeer khan 7bfef8a6f5 Release list of touch resources when input is shutdown
Summary:
Resolved TODO to release list of touch resources in e_comp_wl_input_shutdown

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1884
2015-01-22 09:15:07 -05:00
Mike Blumenkrantz 0d82fcf71c remove e_comp_get() use in grabinput 2015-01-20 19:20:07 -05:00
Mike Blumenkrantz f8d846e0c9 set client frame geometry for new internal wins based on ee geometry 2015-01-20 19:20:07 -05:00
Mike Blumenkrantz f691a8fa18 fix elm box parenting 2015-01-20 19:20:04 -05:00
Mike Blumenkrantz 017c2f4d45 reenable elm log domain 2015-01-20 19:19:57 -05:00
Chris Michael 3520cd5803 add fixme note about desklock timeouts not working in wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-16 14:44:23 -05:00
Carsten Haitzler fe892a3ce0 comp base - make base black. makes for better screenshots of blank areas 2015-01-16 17:50:34 +09:00
Mike Blumenkrantz 39d59f5295 don't set deskmirror scale for non-mb objects 2015-01-15 17:17:39 -05:00
Mike Blumenkrantz aa2c7709ec fix edje usage in e_dialog 2015-01-15 17:08:50 -05:00
Mike Blumenkrantz 3cad1466d2 convert e_dialog text object to elm_layout 2015-01-15 17:08:41 -05:00
Mike Blumenkrantz 45900d1b43 give csel entries 3 columns to force visibility 2015-01-15 16:48:19 -05:00
Mike Blumenkrantz bd536e6e99 use changed,user entry scb for widget change to prevent infinite looping
fix T2004
2015-01-15 16:48:19 -05:00
Mike Blumenkrantz 0d2b7197e0 fix edje usage in frametable 2015-01-15 16:48:19 -05:00
Mike Blumenkrantz 1024480bad improve gadcon popup sizing/positioning 2015-01-15 12:06:08 -05:00
Carsten Haitzler ee40261cf7 e - gadcon popup - handle delection of content object properly
this fixes a popup crash nicely
2015-01-15 21:09:01 +09:00
Mike Blumenkrantz 74bc0435b6 remove unnecessary filepreview size hinting 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz 3fe721b521 enforce min width for filepreview attr entries 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz aee82c9123 e_dialog -> elm_layout for bg_object
sizing++
2015-01-15 03:05:20 -05:00
Mike Blumenkrantz f6fa99eb5f only set internal win name/class if not already set 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz f43819c49b remove widget subobj delete callback on widget delete 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz b98c1a44f2 don't update widget size hints on resize add if hints already exist 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz 3fc96af2dd Revert "revert all the ui breakes in e - going the wrong direction in the"
This reverts commit 3ea6a3569d.
2015-01-15 03:04:42 -05:00
Carsten Haitzler 3ea6a3569d revert all the ui breakes in e - going the wrong direction in the
first place anyway. shoudl replace the entire dialgo one at a time by
an elm version not try and stuff elm widgets into where e widgets used
to be. this doesnt improve e's config dialogs, just makes them buggy
as all hell in the name of a move to elm.

Revert "e_widget_button -> elm_button conversion"
This reverts commit b1c976d80d.

Revert "update widget size hints when setting a resize object"
This reverts commit fdab0218b2.

Revert "remove no-longer-necessary size hinting in list widgets"
This reverts commit 21479f5019.

Revert "e_widget_textblock -> elm_entry conversion"
This reverts commit 8fe2f00f75.

Revert "e frame -> elm_frame conversion"
This reverts commit e9da6a02fc.

Revert "remove unnecessary size hinting"
This reverts commit b596623efd.

Revert "e_label -> elm_label conversion"
This reverts commit 049b318679.

Revert "set evas size hint min in widget min size"
This reverts commit 2f09aa2fda.

Revert "e_table -> elm_table conversion"
This reverts commit 6434012982.

Revert "remove unused vars"
This reverts commit b19e706b23.
2015-01-15 12:13:53 +09:00
Mike Blumenkrantz c8d58b30f3 de-e_comp_get()ify e_menu 2015-01-14 20:48:29 -05:00
Mike Blumenkrantz b1c976d80d e_widget_button -> elm_button conversion
focus highlighting on buttons is gone because this doesn't exist in the elm button theme

so much excitement. http://media.giphy.com/media/xxLCDIDA0iKU8/giphy.gif

 #teamborker
2015-01-14 20:43:32 -05:00
Mike Blumenkrantz fdab0218b2 update widget size hints when setting a resize object 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 21479f5019 remove no-longer-necessary size hinting in list widgets 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 8fe2f00f75 e_widget_textblock -> elm_entry conversion
small and infrequently used widgets are the best kind of widgets

 #teamborker
2015-01-14 20:43:31 -05:00
Mike Blumenkrantz e9da6a02fc e frame -> elm_frame conversion
wheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

 #teamborker
2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 5178197f60 make comp cfd unresizable
the size of the tabs is smaller than the size of the content, which makes this look stupid when it covers the screen
2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 720b19331f don't override entry min sizing in filepreview 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz b596623efd remove unnecessary size hinting 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 049b318679 e_label -> elm_label conversion
text is text is text is text text is text is text is text

 #teamborker
2015-01-14 20:43:31 -05:00
Chris Michael a9834fe0e6 add workaround for ELM_DIALOG_WIN_BASIC not working in wayland.
add #warning to remove when resolved.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-14 16:33:19 -05:00
Chris Michael 60f7b57c04 don't crash if the client comp_data has no surface yet
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-14 16:11:53 -05:00
Chris Michael c179f70f6a update entry widget to not use deprecated elm scrollbar policy function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-14 15:07:51 -05:00
Mike Blumenkrantz 189763cde3 force internal window recentering after resize when no move/resize is active 2015-01-14 14:47:54 -05:00
Mike Blumenkrantz e1dbb122c7 autoupdate widget min sizes 2015-01-13 22:44:55 -05:00
Mike Blumenkrantz fc01bac0bf Revert "fix centering of elm wayland windows"
This reverts commit 1ec2a4e91c.

this may have fixed wayland window centering, but only because it effectively turns the function into a no-op instead of actually centering the window
2015-01-13 22:44:55 -05:00
Mike Blumenkrantz 2f09aa2fda set evas size hint min in widget min size 2015-01-13 22:44:55 -05:00
Mike Blumenkrantz 6434012982 e_table -> elm_table conversion
if rebases were monopoly money, this commit would be able to buy mediterranean ave.

 #teamborker
2015-01-13 22:44:55 -05:00
Carsten Haitzler 50621ba9b4 e - force a config flush before sys actions that could kill e
@fix

this should fix T1988. after some looking here is what i think is
happening. he is asking the system (sysvinit or systemd) to
halt/reboot, but these end up killing the e process before it can save
its config that is lurking around still in ram as opposed to on disk,
so puttting in a config flush before beginning such a system action
will ensure everything is on disk.
2015-01-14 11:48:05 +09:00
Chris Michael 1ec2a4e91c fix centering of elm wayland windows
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 13:36:58 -05:00
Chris Michael 7c5c8b1561 comp-wl: Set argb and no_shape_cut for new clients. This fixes the
black shadow issue

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 13:03:52 -05:00
Chris Michael d11c42fd23 Fix Coverity CID1261286. Identical code for different branches
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:12:52 -05:00
Chris Michael 13ed310a4d Fix Coverity CID1261288. Idential code for different branches
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:11:26 -05:00
Tom Hacohen 61c4a72ae2 E comp: Adjust according to elm function rename. 2015-01-12 10:18:11 +00:00
Mike Blumenkrantz 76605f0a26 de-e_comp_get()-ify e_shelf 2015-01-11 15:57:07 -05:00
Mike Blumenkrantz 90b189d3db fix build from tarball when configured mount backend is different from origin
previously the generated e_fm_shared_types.h file was wrongly distributed with the rest of the source tree when it should not have been
2015-01-11 12:56:47 -05:00
Mike Blumenkrantz c978a045e6 e_entry -> elm_entry conversion
another dice roll in the board game of enlightenment development. next, I will attempt to roll doubles to get out of jail.

 #teamborker

fix T1906
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 207a125904 simplify comp usage in e_fm 2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 06895e4036 use elm_win_fake() to create a fake elm_win for widget parenting/focus
ugh
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 7e3558383d set comp X window hint to normal
ee is broken in that it will never update the withdrawn property for a canvas unless you 1) explicitly set this 2) have an override window
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 915d3089ea unwrap INLINE_IMAGE window creation 2015-01-10 00:58:49 -05:00
Mike Blumenkrantz a2560d9a09 +e_win_evas_win_get() 2015-01-10 00:58:37 -05:00
Chris Michael 72f1b10ea1 comp-wl: Remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 13:44:46 -05:00
Chris Michael b61debdcad comp-wl: Add missing function prototype
Since we call this function before it's actually defined in the
source, we'll just add a small function prototype at the top

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 13:43:40 -05:00
Chris Michael 3d5171563f comp_wl: Fix issue with multiple clients being created
This fixes an issue where internal elementary dialogs would end up
creating 2 pixmaps and 2 clients for each window. This happened due to
the pixmap id not matching the elm window id.

This patch also handles reparenting internal elm windows if needed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 12:48:04 -05:00
Duna Oh 576ec9bdc4 fix crash when activating menu that is not in range
Summary: add the condition check code if the pressed key is not in range of menu items

Test Plan:
(1) Left-click on the desktop to bring up the menu.
(2) Press down the number key to activate the menu item.
(3) When you press down the number key that is not in range, you will see the segmentation error.

below is the crash log which I encoutered.
-------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
_e_menu_item_activate_nth (n=n@entry=5) at src/bin/e_menu.c:2318
2318       _e_menu_item_ensure_onscreen(mi);

Reviewers: zmike, gwanglim, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1845
2015-01-09 14:51:40 +09:00
Carsten Haitzler 5d74b399e0 e zone - add stow/unstow apis 2015-01-09 11:50:51 +09:00
Mike Blumenkrantz 66f28829a1 don't change shade.x/y during unshade or after shade
fix T1930
2015-01-08 18:23:05 -05:00
Mike Blumenkrantz 781bfd7537 check focus after X nocomp end
fix T1768
2015-01-08 18:23:05 -05:00
Chris Michael a0e92e2868 remove use of deprecated e_comp_get function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 09:28:58 -05:00
Mike Blumenkrantz ba5c079152 add E_VERSION_MAJOR define for external module usage
this should simplify writing modules with conditional code for different versions of e
2015-01-05 15:49:57 -05:00
Mike Blumenkrantz 0bac875290 remove some e_comp_get() usage in core comp/client files 2015-01-05 15:39:34 -05:00
Mike Blumenkrantz f4d376be2f disable client stack debugging
this should have been turned off for e19 release but I forgot
2015-01-05 15:39:34 -05:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Mike Blumenkrantz 2d580a2f87 enforce no multihead in X compositor
this hasn't worked since E17, may was well stop trying
2015-01-05 15:36:11 -05:00
Mike Blumenkrantz 701e2d914a add support for new netwm csd X atoms
nothing uses these yet so there's no way to test them.

fix T1963
2015-01-03 00:42:42 -05:00
Mike Blumenkrantz 9ff9de799a completely block border changes on MWM borderless windows
ref T1963

seriously.
2015-01-03 00:07:48 -05:00
Mike Blumenkrantz 5bf04eed8f don't set gravity on client windows during X move/resize
fix T1940
2015-01-02 23:56:11 -05:00
Yomi b34ca20578 update copyright year
Summary: update copyright year

Reviewers: zmike, bu5hm4n

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1836
2015-01-01 17:46:13 -05:00
Mike Blumenkrantz 1caf4250da set elm log level to CRI
current elm usage triggers infinite (harmless) widget-parenting errors. to avoid filling hard disks with log files, shut this up for now
2015-01-01 17:46:13 -05:00
Mike Blumenkrantz a11e8d5f2e e_box -> elm_box conversion
the next installment in the exciting adventure game Elementary Wars!

happy new year from #teamborker
2015-01-01 17:45:34 -05:00
Mike Blumenkrantz 41f4f28114 comp pending resizes should not require both w+h to change 2014-12-30 17:00:23 -05:00
Mike Blumenkrantz 521a7f071e use frame geometry in win resize trap to get accurate sizes
ref T1905
2014-12-30 17:00:23 -05:00
Carsten Haitzler 6510e8bd0e Revert "all dialogs are now resizable"
This reverts commit 9157ca8ca7.

this also makes all dialogs that have content in a toolbar that goes
off window at min size resizable - this is actually what you wanted ..
bgut this previous "all dialogs are resizable" thing was uber-lazy.

Conflicts:
	src/modules/bluez4/e_mod_main.c
	src/modules/conf_bindings/e_int_config_signalbindings.c
	src/modules/conf_theme/e_int_config_theme.c
	src/modules/mixer/conf_gadget.c
	src/modules/shot/e_mod_main.c
2014-12-22 23:02:05 +09:00
Chris Michael b63b2d548e call e_powersave_init Before we call e_screensaver_init because the
init of e_screensaver sets up an event handler for the
powersave_update event (which would be 0 unless powersave is init
first).

Thanks to dt9 for the report ! ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 10:14:36 -05:00
Jee-Yong Um 7a1c6c0725 e_actions: Fix to parse syntax correctly in key binding settings
Summary:
Correct the way to parse syntax in key bindings for launching application according to syntax guide
and pop an error dialog when a space is detected while activating the action.

Example:
Guide is given like "exe:xterm" with "No whitespace" between param's name and contents.
However, existing way to parse syntax should require "ONE whitespace" between name and contents.
This modification will parse syntax correctly.

@fix

Reviewers: seoz, zmike, Hermet

Subscribers: raster, cippp, cedric

Differential Revision: https://phab.enlightenment.org/D1699
2014-12-18 16:08:34 +09:00
Carsten Haitzler 837fb90c4e e - randr include - move to master includes (only if building for x) 2014-12-18 14:19:07 +09:00
Sebastian Dransfeld 27c1f17984 randr: improve code readability in lid update
Be sure we have active non-lids before deactivating lids.
2014-12-17 11:39:19 +01:00
Sebastian Dransfeld 0ec2bdfd52 randr: fix bad copy paste error 2014-12-17 11:35:23 +01:00
Sebastian Dransfeld d69848f63c randr: add error print 2014-12-17 11:19:25 +01:00
Sebastian Dransfeld e7e51c9c12 Revert "randr: always call _e_randr_output_active_set"
This reverts commit 7f14d81e6a.

Broke LID open/close for me, note to self, more testing before commit.
2014-12-17 11:18:13 +01:00
Sebastian Dransfeld f92f1ff4cc randr: TODO++ and error print 2014-12-17 10:35:54 +01:00
Sebastian Dransfeld 9b4bace831 randr: don't try to enable crtc with no outputs 2014-12-17 10:35:12 +01:00
Sebastian Dransfeld 7f14d81e6a randr: always call _e_randr_output_active_set
_e_randr_output_active_set should handle if we set active on an active
output
2014-12-17 10:29:27 +01:00
Sebastian Dransfeld 7ddc9d73ff randr: handle (x, y) > 0
x and y can be larger than 0, so we must set a high start value.
2014-12-17 10:22:48 +01:00
Sebastian Dransfeld 9844c738f7 randr: remove weird code
If we do E_Randr_Output *out2 = _e_randr_output_find(output->xid), then
output should be equal to out2, else we have several output variables per
output xid which should be fixed correctly.
2014-12-17 08:56:24 +01:00
Sebastian Dransfeld 399fd22c36 randr: cleanup try 2
This does not change any behaviour, just moves code:

1. We only try to locate a crtc for an output in _e_randr_output_active_set

And we only do this when we set active.

2. We only search for a crtc in _e_randr_output_crtc_find

This includes looping known crtcs without querying X if it matches.

Please don't revert, but help cleaning. As the current code does not
work for me...
2014-12-17 08:49:40 +01:00
Carsten Haitzler 43f1dc012d Revert "Randr: Fix null dereference."
This reverts commit 4aef218d28.

Revert "randr: remember crtcid for fast lookup on reconnect"
This reverts commit 55b4ad41d1.

Revert "randr: further cleanup"
This reverts commit 3e02824663.

these make nvidia randr resolution changing work again. sorry seb.
even though cleanups might be nice... this code is FIDDLY and every
driver seems to work differently, so take it easy and be very careful
- make no assumptions. i know it works on my intel desktop and nvidia
deskop atm. once i get a vga cable i'll fix up intel laptop with
external display that has problems. i can try radeon too later. but
right now - this stuff needs to work. being clean is far less
important than working. :)
2014-12-17 09:40:41 +09:00
Carsten Haitzler 9677b71902 Revert "randr: Don't track active outputs"
This reverts commit 01f43e3618.

this broke nvidia randr - i cant tunr my screens on or off anymore.
2014-12-17 09:12:32 +09:00
Tom Hacohen 4aef218d28 Randr: Fix null dereference.
CID1181926
2014-12-16 14:56:10 +00:00
Sebastian Dransfeld 01f43e3618 randr: Don't track active outputs
Remove tracking of active outputs to reduce code complexity.
2014-12-16 10:13:55 +01:00
Sebastian Dransfeld d265a1b289 randr: TODO++ 2014-12-16 09:56:02 +01:00
Sebastian Dransfeld 55b4ad41d1 randr: remember crtcid for fast lookup on reconnect
When an output is set inactive, it is disconnected from a crtc. Now we
remember the id of the last crtc it was connected to, so we get a faster
lookup on reconnect.
2014-12-16 09:21:02 +01:00
Carsten Haitzler 5180b69e33 e randr - restore edp checks
the dp checks were looking for edp stuff. but due to naming they appeard as
eDP or maybe edp or EDP - thus were simplified to dp. put more explicit
checks there.
2014-12-16 11:31:00 +09:00
Sebastian Dransfeld 074779b460 randr: Don't match DP as LID
On my intel laptop DP are my DisplayPort connections, not LID.
2014-12-15 12:52:25 +01:00
Sebastian Dransfeld 3e02824663 randr: further cleanup
Primarly two things removed:
1. crtc->outputs should only contain outputs which should be enabled
So looping them twice in e_randr_apply is definitly wrong.

2. _e_randr_crtc_find should find a crtc for an output
So looping our crtcs again in _active_set is definitly wrong. If
_e_randr_crtc_find does not find us a crtc, it should be fixed there.
2014-12-15 12:31:14 +01:00
Carsten Haitzler 95b4f14098 e randr - make it work on nvidia - lots of "wrong" things fixed
i've spent a while testing randr on my nvidia box and drviers. it now
works - i can turn screens on and off. i couldn't before. e_randr was
trying to be too smart for its own good. it wasnt matching up outputs
to crtcs, was thinking outputs active when they were not, etc. etc.
etc. - reality is e_randr could do witha  lot of simplification, but
at this stage i'm just going to hammer it into shape to work across as
many drivers and setups as i can test against.
2014-12-15 07:43:25 +09:00
Mike Blumenkrantz f3f3cedd03 only use elm win title for internal windows if it has been set 2014-12-14 15:40:25 -05:00
Marcel Hollerbach ec64288d4f e_win: Fix Dialog Titles
We should not set the title to "E" in the trap function of show.
If we do this we will override the icccm title and the netwm name, this
mean e_comp_x will set E as title of the window if the call to
elm_win_title_set was BEFORE the window was shown.

Now the name which was set before will be inserted.
2014-12-14 12:21:16 +01:00
Marcel Hollerbach a6f7d9ac1e Register the new window into out evas.
Summary:
Otherwise the mouse up event is emitted to the evas but the evas does
not work with it, because it does not know the window it is from. This
leads to a evas_event_down_count_get bigger than 1 which leads to a
missing mouse_out event. With this missing mouse_out event _post_up_handle
in evas_event.c is not called anymore, this means all the click events
are getting emitted to the object which was last clicked.

This fixes T1894.

Test Plan: Drag and Drop a icon somewhere and click somewhere after that, the evas will not get stuck anymore

Reviewers: raster

Subscribers: cedric, abyomi0, zmike, raster

Maniphest Tasks: T1894

Differential Revision: https://phab.enlightenment.org/D1771
2014-12-13 09:17:21 +01:00
Mike Blumenkrantz 066bdba3fa apply client size based on correct remember value, only apply if value != 0
ref T999
2014-12-08 17:06:13 -05:00
Mike Blumenkrantz 9bb38950bb remembering size on a window should also remember maximize state 2014-12-08 17:05:58 -05:00
Mike Blumenkrantz ac7bf5fe32 greatly reduce FAILURE_MAX
ref T1820
2014-12-08 17:03:23 -05:00
Mike Blumenkrantz 28d6eecceb reduce shape recalc for clients which cannot currently receive input 2014-12-07 20:17:33 -05:00
Mike Blumenkrantz 610c439abd redo shaped client checks to use shape flags instead of rect pointer, fix shapeless clients
according to the shape extension protocol, the number of rectangles returned should be checked to determine a client's shape. if 0 is returned, the client has no shape, meaning that it either should not be drawn or should have no input region. this improves behavior with various client window types such as tooltips

ref T1820
2014-12-07 20:17:33 -05:00
Mike Blumenkrantz 634b58773a add failure count for client rendering, drop clients after FAILURE_MAX tries
this traps clients which are showing and hiding themselves extremely quickly and prevents them from crashing us when we try to draw them

fix T1820
2014-12-07 20:17:33 -05:00
Mike Blumenkrantz 38f30c83af fix X crash when trying to apply desktop window profile to client without desk 2014-12-07 20:17:33 -05:00
Mike Blumenkrantz 3e50ac6e27 ensure clients are visible before triggering shape/render queue 2014-12-07 20:17:33 -05:00
Mike Blumenkrantz 5753b7a2dd attempt to run eeze_scanner on failure to connect, not successful connect
ref T1612
2014-12-05 13:55:29 -05:00
Mike Blumenkrantz a9806056fc only attempt to start eeze_scanner a couple times before giving up
ref T1612
2014-12-05 13:55:29 -05:00
Mike Blumenkrantz eacfb2a98e store eeze_scanner connection poller to avoid creating an infinite number
ref T1612
2014-12-05 13:55:29 -05:00
Mike Blumenkrantz 5023d7eaa6 don't exit e_fm when eeze init fails, send RASTER mode instead 2014-12-05 13:55:29 -05:00
Mike Blumenkrantz 671a0d3b99 print more descriptive error messages when scanner connection fails, also don't exit() here
ref T1612
2014-12-05 13:55:28 -05:00
Stefan Schmidt 9336d7c372 e_start_main: Close fd only if we actually succeeded opening it.
In the error case fd would be -1 here. Closing needs to be handled in the
cases where fd != -1.

CID: 1256492
2014-12-02 10:50:27 +01:00
Chris Michael c7386d61c9 e-start: Fix 'control reaches end of non-void function'
Summary: Seems one of the Daniels did not check their compiler output
;) _e_ptrace_attach function should return an integer value...

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:55:32 -05:00
Daniel Kolesa ef82c30bb4 fix indentation 2014-12-01 16:30:57 +00:00
Daniel Kolesa 715d7f00b4 remove unused variable 2014-12-01 16:28:46 +00:00
Daniel Kolesa f918476da1 e_start_main: refactor (reduce scope depth, separate ifdefs, cleanup)
The main reason for this change is to clean it up for proper non-Linux
platform support, but also to make it cleaner in general.
2014-12-01 16:25:58 +00:00
Mike Blumenkrantz 6be71a64f9 fix efm dnd crash
fix T1880
2014-11-29 12:22:25 -05:00
Carsten Haitzler 48023b9ce3 e randr - fix warning (signed vs unsigned cmp) 2014-11-29 16:44:41 +09:00
Carsten Haitzler 70753a7903 e - randr - stop saving config using XID - this is utterly WRONG
so e was storing randr config using XIDs to match outputs etc. this is
all kinds of wrong. XIDs are NOT STATIC. they change from xserver to
xserver and from run to run. they MAY be the same. they may not. so
this was just broken.

use output name + edid as a big "string" (name.edid) as a way ofr
identifying config for a specific combination of output plus monitor
and to find/identify the corrent output+monitor to apply it to (of
course missing edid gets replaced with ??? and missing output name is
??? too - i have never seen a missing output name so you get this at
least).

so this FIXES "restore" of screen mode on login for starters. this
does nothing to "fix" the screen setup dialog in any way. there are
separate issues there.

this also breaks e_randr config compat so i bumped epoch so your old
config is rejected. i don't see a sensible way of porting the config
forward.
2014-11-29 10:05:36 +09:00
Mike Blumenkrantz f4b8e9563c apply pointer warp effects immediately when instant warping
fix T1462
2014-11-28 15:06:47 -05:00
Daniel Kolesa 245d26c7c7 detab e_start_main.c; spank spank spank 2014-11-28 15:08:24 +00:00
Daniel Kolesa db49bda75d clean up E ptrace detection and usage 2014-11-28 15:08:00 +00:00
Mike Blumenkrantz 68e0b75929 set skip pager/taskbar hints on parent window instead of client window
this is a change in behavior as compared to E17-E18 where any setting of related flags would alter the client hints

ref T1692
2014-11-25 15:02:06 -05:00
Marcel Hollerbach d0d0554170 e_order: Added a function to check if this Efreet entry allready exists
Checks if this Efreet_Desktop entry allready exists in the given
E_Order.
2014-11-25 16:18:06 +01:00
Carsten Haitzler 077474adcb e - warning fix - fix SVID_SOURCE complaint warning
reduces useless warnings so we see the real issues, not noise
2014-11-25 17:24:19 +09:00
Chris Michael 93a125b7a2 e-comp-wl: Don't try to set null data if we don't have a surface
Summary: This fixes an issue where calling wl_resource_set_user_data
with an invalid resource would cause an abort in the wayland
libraries, Thus making E crash.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-24 16:01:27 -05:00
Carsten Haitzler 87baecb098 Revert "windows - allow close button to work again in internal wins"
This reverts commit 285951c8cb.
2014-11-23 13:54:14 +09:00
Mike Blumenkrantz a16206c6f1 only show comp obj during internal win show if win not already visible
fix T1863
2014-11-22 12:47:19 -05:00
Mike Blumenkrantz ce49f2a1f0 only change internal win visibility on comp obj show if win not already visible 2014-11-22 12:46:50 -05:00
Mike Blumenkrantz de792341fb don't call elm_shutdown() for now
force iterating the main loop when it's expected to have stopped guarantees crashes for most of e
2014-11-22 08:33:48 -05:00
Mike Blumenkrantz 034c05bc0d remove unnecessary unfocused signal emit on clients 2014-11-22 08:31:59 -05:00
Carsten Haitzler 285951c8cb windows - allow close button to work again in internal wins
since the move to elm_win ... windows don't close with close button in
the titlebar. this fixes that in the simplest way - enabling autodel
on the window.
2014-11-22 18:46:10 +09:00
q66 d12ef91687 rename WEIGHT/ALIGN/EXPAND/FILL to E_WEIGHT/E_ALIGN/E_EXPAND/E_FILL
Otherwise there were macro clashes with a systemwide include.
Also remove a leftover E_Hal.h include.
2014-11-21 20:10:46 +00:00
Mike Blumenkrantz a4b1d63fea fix internal window closing with frame button 2014-11-21 13:34:32 -05:00
Mike Blumenkrantz eaa471b418 resolve recent coverity complaints 2014-11-21 10:21:13 -05:00
Daniel Kolesa bd95c310ec remove obsolete E_Hal.h include 2014-11-21 14:34:48 +00:00
Mike Blumenkrantz ce8a4a2b78 remove ec->changes.internal_props
this should be set directly on the win using evas/elm apis
2014-11-20 15:26:22 -05:00
Mike Blumenkrantz a44b172607 minor tweaks to prevent harmless invalid reads during restarts with windows open 2014-11-20 15:26:22 -05:00
Mike Blumenkrantz 462c2ef4aa rename elm win trap functions for easier namespace debugging 2014-11-20 15:26:22 -05:00
Mike Blumenkrantz ffa98586a4 add macro wrapper to force elm win accel disabling on internal windows 2014-11-20 15:26:21 -05:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Sebastian Dransfeld 23ade9f630 randr: fix formatting
tab to spaces
2014-11-19 11:58:50 +01:00
Marcel Hollerbach c2f596a06a Fix wrong deskshow function
Summary:
The loop E_CLIENT_REVERSE_FOREACH was used to iconify and uniconify the
icons. The worked well for uninconify.

But if the first client with the focus gets iconifyed the lower one in
the stack will get the focus and will be raised to the top, but the loop
will continue with the next of the now iconifyed e_client, so this one
will be skipped.

Now the forward loop is used to iconify and the reverse to uniconify the
e_clients.

This fixes T1797

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, cippp

Maniphest Tasks: T1797

Differential Revision: https://phab.enlightenment.org/D1655
2014-11-12 20:49:46 +01:00
Chris Michael 69c71a16bb e-comp-wl: Implement client idler for sending configure during resize.
Cleanup surface commit function to work with new pixmap caching code.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-10 11:58:20 -05:00
Chris Michael 4dfdfe2428 Implement caching of pixmap resources for wayland clients.
Move sending of frame completion to the image_draw function.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-10 11:55:18 -05:00
Chris Michael 2e0168359e e-comp: Return proper post value for wayland clients during
client_update

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-10 10:20:49 -05:00
Chris Michael 3ef4ca19bc Fix incorrect return value when creating native surface for wayland
clients

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-07 13:15:10 -05:00
kabeer khan d36166f4af e_startup: Added dialog to notify user to fix his dbus setup
Summary:
Resolved TODO in e_startup, In case of dbus error added dialog
box to notify user to fix his dbus setup

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1648
2014-11-07 08:34:00 -05:00
Mike Blumenkrantz 5172b7f3f9 add alignment client menu
for everyone with window placement ocd who doesn't tile
2014-11-05 15:04:10 -05:00
Chris Michael 7f8387b4bc e-comp-wl: Fix keyboard input with wayland clients when running in X11.
Don't run client_post_new hook for deleted clients.
Start work on client pre_frame hook.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Chris Michael dcffab5c82 e-comp-wl: Clip shape rectangles to client size
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Chris Michael 19df35bdbf e-comp-wl: Hook into post_new_client event so we can setup hints and
export any shape changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Chris Michael 86617fe717 e-comp-wl: Set e_client properties on subsurface E_Client
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Mike Blumenkrantz f66fd04b82 fix signal emission on selected ilist item icons 2014-11-03 17:07:19 -05:00
Chris Michael 2d7ca6d2eb e-comp-wl: Implement callback for surface resource destroy
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 15:10:38 -05:00
Chris Michael 9ebf046e41 e-comp-wl: Remove unnecessary todo item
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 14:48:19 -05:00
Chris Michael 8a08e17603 e-comp-wl: Implement subsurface parent commit function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 14:47:14 -05:00
Chris Michael 4de0a40d0c e-comp-wl: Implement subsurface commit_to_cache and commit_from_cache
functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 14:47:14 -05:00
Mike Blumenkrantz a9495340f6 fix internal window border changing 2014-11-03 14:10:17 -05:00
Chris Michael d3aed14ebc e-comp-wl: Fix various compile errors
Summary: add function prototype for subsurface_parent_commit, fix a
few typos which broke compile

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:50:07 -05:00