summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/move.c
AgeCommit message (Collapse)AuthorFilesLines
2007-02-14beryl-core: extended saveWindowGeometry so it can accept an XWindowChanges ↵maniac1-1/+1
structure for setting the restore geometry move plugin: use that tile plugin: use that, fixed maximized window restoring git-svn-id: file:///beryl/trunk@4049 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-02-07beryl-core & -plugins-unsupported: adapt tile to the new restore coordinate ↵maniac1-1/+1
saving API git-svn-id: file:///beryl/trunk@3771 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-02-07beryl-core & -plugins:maniac1-13/+7
- cleaned up window geometry save & restore code - now needs less X property accesses - removed some old, seemingly unneeded, code - removed some commented code - please tell me if this breaks anything git-svn-id: file:///beryl/trunk@3764 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-02-06core + plugins: Make warpPointer() accept a CompScreen instead of CompDisplay. kristian1-3/+2
Fixes crazy-cube-spinning and move-issues in multiscreen setups. git-svn-id: file:///beryl/trunk@3701 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-02-05move plugin: fixed windows sometimes being restored to weird sizes when ↵maniac1-4/+9
unsnapping maximized windows git-svn-id: file:///beryl/trunk@3673 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-02-04Fix warnings in move. Patch by toggles. Closes #1165trappist1-6/+2
git-svn-id: file:///beryl/trunk@3636 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-02-01move plugin: re-enable snapping off/back of maximized windowsmaniac1-14/+11
git-svn-id: file:///beryl/trunk@3545 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-31beryl-plugins(-extra): applied #1074 and #1077onestone1-15/+15
git-svn-id: file:///beryl/trunk@3500 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-31disable move snapoff-maximizedquinn1-10/+13
git-svn-id: file:///beryl/trunk@3492 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-27move plugin: update server position before snapping back to maximized to ↵maniac1-0/+4
make sure the window doesn't get maximized on the wrong head (David Reveman) git-svn-id: file:///beryl/trunk@3249 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-24indent.sh on pluginsracarr1-30/+33
git-svn-id: file:///beryl/trunk@3081 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-22move plugin: reenable initiate bindingmaniac1-2/+2
git-svn-id: file:///beryl/trunk@2991 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-22Initiate window move keybinding disabled (kept mouse binding)racarr1-2/+2
git-svn-id: file:///beryl/trunk@2986 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-21beryl-plugins: move: fixed disapearing maximized windows on multiscreen setupsonestone1-6/+7
git-svn-id: file:///beryl/trunk@2936 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-18core: kristian1-1/+1
- Split paint-locking into three so op/bri/sat is locked seperately. (Feel free to convert it to a mask instead of a struct). plugins: - trailfocus2 shouldn't have to worry about screengrabs any more. Removed the necesarry code. Slight adjustements. - opacify: Fix comments slight modifications. - move.c: Check against the actual opacity, not default opacity when checking if move should change the opacity of a window. git-svn-id: file:///beryl/trunk@2853 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-17core: kristian1-3/+2
- Adjust paint-locking and bring the function names in line with the rest of core. plugins: - opacify, trailfocus2, move: Better utilize the paint-system provided. - state: Provide better locking and resetting. git-svn-id: file:///beryl/trunk@2771 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-16First paint-attrib change, locking needs work. State needskristian1-2/+3
to use this. beryl-core: - Set up functions to set opacity/brightness/saturation and reset it, based on a default. Default is currently set to atom by default. - Resetting the default means setting it back to the atom. - Locking is not entierly perfect as it locks a bit too much. beryl-plugins: move.c and opacify.c : use the above system. branches: trailfocus2: Use the above system. Read mailinglist/code for details. git-svn-id: file:///beryl/trunk@2719 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-06beryl-*:quinn1-0/+1
* move active_plugins out * use the new enabled structure * WARNING - this breaks BSM! USE BSMPP! git-svn-id: file:///beryl/trunk@2434 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-06move plugin: fixed unwanted constraining in x directionmaniac1-4/+4
git-svn-id: file:///beryl/trunk@2416 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-06move plugin: another attempt at constraining properly for multihead and ↵maniac1-6/+33
mixed resolutions git-svn-id: file:///beryl/trunk@2413 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2007-01-04Fade and opacity-conflict related issues:kristian1-42/+11
move.c: Change opacity method, remove redundant paintWindow. opacify.c: Properly recalculate opacity after a move (not before) git-svn-id: file:///beryl/trunk@2350 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-31beryl-plugins (move):maniac1-49/+58
- bring back "constrain to bottom" option - (hopefully) fix constraining for mixed resolutions git-svn-id: file:///beryl/trunk@2187 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-29beryl-plugins (move):maniac1-45/+132
- fix movement constraints for multihead (David Reveman) - unify constrain to top/bottom options git-svn-id: file:///beryl/trunk@2154 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-23Indent scriptracarr1-684/+672
git-svn-id: file:///beryl/trunk@2015 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-23add group desc support to berylquinn1-1/+3
git-svn-id: file:///beryl/trunk@2014 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-23beryl-plugins: Added preliminary grouping to:- crashhandler, izoom, ↵lupine1-16/+16
annotate, opacify, group, fade, clone, move, neg & decoration. git-svn-id: file:///beryl/trunk@2011 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-21add advanced bool to option structquinn1-8/+16
update all plugins to set it on their options use it in libbs use it in bsm git-svn-id: file:///beryl/trunk@1969 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-18Run indent.sh on beryl-plugins most of the files had such mixed coding ↵racarr1-707/+684
styles it was a real pain to work with git-svn-id: file:///beryl/trunk@1849 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-15beryl-*quinn1-1/+2
-add basic support for plugin categories, haven't done libbs stuff yet git-svn-id: file:///beryl/trunk@1759 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-12beryl-plugins: apply description improvement patch by trappist, closes #301maniac1-3/+3
git-svn-id: file:///beryl/trunk@1700 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-10move plugin: end window move on button release, closes #59maniac1-0/+1
git-svn-id: file:///beryl/trunk@1646 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-10core and resize, move and scale plugins: Free cursors on exit, add missing ↵nigel1-0/+2
freeing of window private index for scale, call screenFiniPlugins for screens when cleaning up. git-svn-id: file:///beryl/trunk@1645 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-12-02indent -i8 -kr . All whitespace-changes. kristian1-663/+704
See man indent for details of what -kr does. git-svn-id: file:///beryl/trunk@1499 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-30beryl-core, beryl-vidcap, beryl-plugins:quinn1-8/+32
-add new groups system for options -add hints to options -still none of these are filled out -beryl-settings isn't converted to use the new hint checking function yet git-svn-id: file:///beryl/trunk@1462 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-17beryl-plugins, beryl-vidcap: correctly unhandle actions when plugin get unloadedixce1-0/+3
git-svn-id: file:///beryl/trunk@1251 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-15move plugin: fix typo (sorry)maniac1-1/+1
git-svn-id: file:///beryl/trunk@1210 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-15move plugin: some more multihead workarea fixesmaniac1-5/+9
git-svn-id: file:///beryl/trunk@1209 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-14beryl-core & plugins:maniac1-19/+11
- code cleanup: use have only two functions which retrieve the dimensions of output device and its work area instead of eight - fixed calculation error in organic scale git-svn-id: file:///beryl/trunk@1198 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-10move plugin: finally squash mouse pointer desyncmaniac1-1/+5
git-svn-id: file:///beryl/trunk@1115 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-09beryl-core & move plugin: at least improve mouse pointer desync on ↵maniac1-5/+8
unsnapping maximized windows when moving them git-svn-id: file:///beryl/trunk@1096 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-07move plugin: re-add code removed by accidentmaniac1-0/+3
git-svn-id: file:///beryl/trunk@1069 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-07move plugin: maniac1-16/+41
- made options for snapoff and snapback distance - remove some unneeded code git-svn-id: file:///beryl/trunk@1068 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-11-05beryl-plugins: make all non-translatable strings translatablereggaemanu1-9/+9
git-svn-id: file:///beryl/trunk@1027 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-10-27MAJOR CODE CLEANUPquinn1-8/+8
beryl no longer uses any extern'd variables, and has get() functions for the things that can't be static const'd git-svn-id: file:///beryl/trunk@837 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-10-26beryl plugin vtable: add gettext-domainquinn1-1/+2
libberylsettings: plugin loading and option init code done git-svn-id: file:///beryl/trunk@811 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-10-17Upstream updates...reggaemanu1-8/+8
beryl-core: Add serverWidth serverHeight and serverBorderWidth beryl-plugins: Use serverWidth, serverHeight and serverBorderWidth for place and move plugins git-svn-id: file:///beryl/trunk@666 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-10-07* Plugin Features stuffixce1-0/+2
git-svn-id: file:///beryl/trunk@542 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-10-07* Xinerama updatesixce1-8/+8
git-svn-id: file:///beryl/trunk@538 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-09-30major overhaul of keybindings systemquinn1-8/+5
bump VERSION to 0.1.1 bump ABI VERSION to 4 git-svn-id: file:///beryl/trunk@406 d7aaf104-2d23-0410-ae22-9d23157bf5a3
2006-09-29Add patch to terminate moves when a mouse button is clicked (from fedora)reggaemanu1-0/+14
git-svn-id: file:///beryl/trunk@380 d7aaf104-2d23-0410-ae22-9d23157bf5a3