Commit Graph

373 Commits

Author SHA1 Message Date
Cedric BAIL 3f9af38da2 edje: remove use of deprecated functions. 2014-06-07 21:10:55 +02:00
Wonguk Jeong 142829e819 pager/pager16: fix wrong min values.
Summary:
currently, if we shrink pager gadget horizontally, the resize guide (blue rectangle) became smaller (16x16, pager16: 4x4) than real pager size.
There was hard-coded min value.

calculate min value base on aspect ratio for real.

@fix

Test Plan: pager -> begin move/resize -> make it small horizontally as much as possible -> check whether the guide is fit on real size.

Reviewers: raster, zmike

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D793
2014-05-11 12:30:00 -04:00
Wonguk Jeong ac6a0ced61 pager/pager16: fix text update bug during chaging desktop
Summary:
text part of pager popup is updated every desktop change.
But, the text part name is mismatched with style in elementary.

Honestly, I've fixed in pager16 as well since it's same problem. obviously.
Unfortunately, I couldn't test pager16.. where the hell is it.

Fixes T1189

Test Plan: enlightement -> desktop change by using key input -> check whethere proper desktop name is shown on pager popup or not

Reviewers: raster, zmike

CC: seoz, cedric, maxerba

Maniphest Tasks: T1189

Differential Revision: https://phab.enlightenment.org/D780
2014-04-24 17:56:50 +09:00
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz 9ad04eb877 redo client urgency again with separate flag for actual urgent state
preserve icccm flag for accurate detection
2014-03-05 10:08:09 -05:00
Mike Blumenkrantz d840583263 don't show pager urgent popups for focusing clients 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 29cd45142a remove E_EVENT_CLIENT_(UN)STICK, use E_EVENT_CLIENT_PROPERTY & E_CLIENT_PROPERTY_STICKY 2014-02-10 20:10:38 -05:00
Mike Blumenkrantz 6523f283a6 fix pager popup delete timer
T871
2014-01-29 13:36:41 -05:00
Mike Blumenkrantz d09e8af4f3 set layer on pager popup 2014-01-28 11:01:57 -05:00
Mike Blumenkrantz ec74eaa30c re-show pager popups if desk is changed during popup hide animation 2014-01-27 10:58:40 -05:00
Mike Blumenkrantz bb8833a526 set pager* config functions as EINTERN
these functions have the same name, so (un)loading them will result in symbol conflicts unless they are not exported
2014-01-27 10:58:40 -05:00
Mike Blumenkrantz c667f7612f feature: E16-style live pager returns! window-only drags currently a little broken
p16 is a pager replacement module which uses deskmirror to show you live views of each desktop. it has a separate theme and reuses a lot of pager code.

not sure if original pager should be kept, but it's still around for now.

pager and pager16 both provide the same gadget and cannot be loaded simultaneously
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz cd7a0e6b64 simplify code for moving windows to other desks: add effect unclipping to e_border_desk_set 2013-11-28 09:43:20 -05:00
Mike Blumenkrantz 408dbec23d set pager_popup name on pager popups 2013-10-14 05:04:01 +01:00
Carsten Haitzler d77faef91b fix pager segv... set active_pd to null if we are emptying pd's! 2013-09-25 12:59:17 +09:00
discomfitor 2f2df6346c fix harmless cast warning 2013-09-06 15:57:28 +01:00
discomfitor c27a0594c0 delete pager popup timer...always. 2013-09-06 15:55:58 +01:00
discomfitor b5c837b61e fix pager visual fade out 2013-09-05 19:01:17 +01:00
Carsten Haitzler cf3c77aefd allow enter/kp enter/space to select a desktop when pager popup is up 2013-08-25 19:29:39 +09:00
Mike Blumenkrantz 71d6c94b10 use e list macros for pager event handlers 2013-08-15 09:46:44 +01:00
Mike Blumenkrantz cf76a4b142 remove redundant pager desk selection for pager popups on flip 2013-08-14 13:46:21 +01:00
Mike Blumenkrantz 517d537dfa don't iterate over pager desks to set active/inactive, this is stupid. 2013-08-14 12:53:03 +01:00
Mike Blumenkrantz 5afa40b352 remove some old pre-comp pager cruft 2013-08-14 12:49:17 +01:00
Mike Blumenkrantz 2f998593e1 fix pager window visibility during drag 2013-07-02 07:59:00 +01:00
Chris Michael 2047bac4b0 Fix klockwork issue: NULL pointer may be dereferenced:
Don't call e_comp_win_effect_set unless we have a valid pager window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:45:36 +01:00
Mike Blumenkrantz 1837d1c266 fix pager window dragging in pager when comp effects are enabled 2013-06-13 07:30:36 +01:00
Mike Blumenkrantz f5e3f2ea6a unset comp win effect when dragging a window to the current desk 2013-06-12 14:08:27 +01:00
Mike Blumenkrantz 0aa86c902e fix pager popup hide/delete animation 2013-06-12 09:38:46 +01:00
Mike Blumenkrantz 9a24c85571 pager dnd is now significantly more awesome 2013-05-30 09:42:29 +01:00
Mike Blumenkrantz 25c0f38bf6 pager popups no longer allow clicking
deal with it
2013-05-20 08:59:50 +01:00
Mike Blumenkrantz 53330cc2e1 clean up pager desk drag objects 2013-04-18 12:38:39 +01:00
Mike Blumenkrantz 2d5d042979 fix pager dnd icon deletion 2013-02-26 07:27:44 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Mike Blumenkrantz 3bc56a9e5f fix a tremendous number of stringshare leaks
SVN revision: 81532
2012-12-21 10:20:05 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Massimo Maiurana f4cd4df207 Make two more messages translatable (patch from Igor Murzov)
SVN revision: 81040
2012-12-16 08:57:55 +00:00
Mike Blumenkrantz a4cb0df4ea prevent double pager settings menus
SVN revision: 80769
2012-12-12 14:56:59 +00:00
Mike Blumenkrantz fde12e4225 simplify pager dnd leave cb
SVN revision: 80654
2012-12-11 12:48:49 +00:00
Mike Blumenkrantz 1ecfd5bb0e don't need to iterate on pager drop move cb
SVN revision: 80636
2012-12-11 09:54:50 +00:00
Mike Blumenkrantz 92cdc69ead typo
SVN revision: 80633
2012-12-11 09:19:27 +00:00
Mike Blumenkrantz d4e3ceb6c2 clean up pager enter dnd event cb
SVN revision: 80632
2012-12-11 09:19:15 +00:00
Mike Blumenkrantz 486c74738d use EINA_LIST_FOREACH in pager
SVN revision: 80631
2012-12-11 09:02:13 +00:00
Mike Blumenkrantz 557b8c3c8d fix pager usage of E_FREE
SVN revision: 80364
2012-12-06 14:12:55 +00:00
Carsten Haitzler 0683ecf7b3 ummm pager - when dragging a whole DESKTOP... dont set a white bg..
theme haqndles this with the pager setup itself.



SVN revision: 79689
2012-11-26 10:13:54 +00:00
Carsten Haitzler 3868f0f91a try avoid null ptr derefs.
SVN revision: 79168
2012-11-12 14:45:59 +00:00
Sebastian Dransfeld 8eacf64412 pager: prevent double pager windows
SVN revision: 78950
2012-11-06 21:31:25 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00